VDB
KO
HIGH 7.5

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / flask-cors
Introduced in: 0 Fixed in: 4.0.2
Fix pip install --upgrade 'flask-cors>=4.0.2'

References