flask-cors
Affected
- introduced
0, fixed4.0.2(ecosystem)
Fixed versions
4.0.2
Fix
- Fixed version
4.0.2pip install --upgrade flask-cors==4.0.2
Advisory
Also known as: CVE-2024-6221, PYSEC-2024-71
Flask-CORS allows the Access-Control-Allow-Private-Network CORS header to be set to true by default
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.
High Basis: The source's own band: HIGH
0, fixed 4.0.2 (ecosystem)4.0.2
4.0.2pip install --upgrade flask-cors==4.0.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0