ADVISORIES

PyPA Advisory Database

PYSEC-2024-71

Details

A vulnerability in corydolphin/flask-cors up to version 4.0.1 allows the Access-Control-Allow-Private-Network CORS header to be set to true by default, without any configuration option. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

Affected packages

EcosystemPackageAffected versions
PyPIflask-cors
All versions before 4.0.2 (fixed in 4.0.2)

References