CVE-2024-6221
High
Description
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. 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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductCorydolphin Flask-cors
PublishedAug 18, 2024
First seenAug 18, 2024
Weakness typeCWE-284Improper access control
How to fix
Update
- flask-cors4.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| corydolphin flask-cors | 4.0.1 | — |
| flask-corsPyPI | v < 4.0.2, v ≤ 4.0.1 | 4.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.