
CVE catalog
CVE-2024-6221
Flask-CORS vulnerabilities
- Severity
- High
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.72% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-flask-cors | sid | 6.0.5-1 | fixed |
| Debian | python-flask-cors | forky | 6.0.5-1 | fixed |
| Debian | python-flask-cors | trixie | 6.0.1-1 | fixed |
| Debian | python-flask-cors | bookworm | 3.0.10-2+deb12u1 | not affected |
| Ubuntu | python-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| PyPI | flask-cors | Not reported | 4.0.2 | fixed |
| Ubuntu | python-flask-cors | pro | 4.0.0-1 | vulnerable |
| Ubuntu | python-flask-cors | pro | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2 | vulnerable |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-flask-cors | source | sid | 5.0.0-1 | not yet assigned | Not reported | [1081300] |
| Debian | python-flask-cors | source | forky | 5.0.0-1 | not yet assigned | Not reported | [1081300] |
| Debian | python-flask-cors | source | trixie | 5.0.0-1 | not yet assigned | Not reported | [1081300] |
| Debian | python-flask-cors | source | bookworm | Not affected | unimportant | Not reported | [1081300] |
| Ubuntu | python-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| PyPI | flask-cors | PyPI | Not reported | 4.0.2 | Not reported | GHSA-HXWH-JPP2-84PM | Not reported |
| Ubuntu | python-flask-cors | deb | pro | 4.0.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-6221 | Not reported |
| Ubuntu | python-flask-cors | deb | 22.04 | 3.0.9-2ubuntu0.1 | Not reported | UBUNTU-CVE-2024-6221 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-flask-cors]Not affected
Source package: [python-flask-cors]
Details (2)
3.0.10-2+deb12u1· all · bookwormNot affected
usn · python-flask-cors · debian · bookworm
3.0.10-2+deb12u1· all · bookwormNot affected
usn · python-flask-cors · debian · bookworm
[Debian 13 (Trixie)]
- [python3-flask-cors]Fixed
Source package: [python-flask-cors]
Details (2)
6.0.1-1· all · trixieFixed · Fixed:
5.0.0-1usn · python-flask-cors · debian · 13
6.0.1-1· all · trixieFixed · Fixed:
5.0.0-1usn · python-flask-cors · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6221]
- [https://osv.dev/vulnerability/GHSA-hxwh-jpp2-84pm]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-6221]
- [https://security-tracker.debian.org/tracker/CVE-2024-6221]
- [https://ubuntu.com/security/notices/USN-7612-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]