Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default
High severity
GitHub Reviewed
Published
Aug 18, 2024
to the GitHub Advisory Database
•
Updated Sep 17, 2024
Description
Published by the National Vulnerability Database
Aug 18, 2024
Published to the GitHub Advisory Database
Aug 18, 2024
Reviewed
Aug 19, 2024
Last updated
Sep 17, 2024
A vulnerability in corydolphin/flask-cors 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.References