HIGH7.5
PYSEC-2024-71
Quick fix
PYSEC-2024-71 — flask-cors: upgrade to the fixed version with the command below.
pip install --upgrade 'flask-cors>=4.0.2'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.