CVE-2024-6221
published medium CVSS 3.0 · 6.5Improper Access Control in corydolphin/flask-cors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| corydolphin | — | corydolphin/flask-corsunspecified to < 5.0.0 | Affected | Not stated | @huntr_ai |
| corydolphin | — | flask-cors4.0.1 and later · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Ubuntu | focal | python-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| Ubuntu | focal | python3-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| Ubuntu | jammy | python-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | jammy | python3-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | noble | python-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
| Ubuntu | noble | python3-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| corydolphin | corydolphin/flask-cors | unspecified to < 5.0.0 (affected · custom) | @huntr_ai · cna |
| corydolphin | flask-cors | 4.0.1 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-284 CWE-284 Improper Access Control
References
2Provider assertions
2@huntr_ai · cna
Improper Access Control in corydolphin/flask-cors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f0a3b9ea6f84f7cd233ba0b598283b98751aa902144291a0b91e42c5788072bd
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record