CVE-2024-6866: corydolphin corydolphin/flask-cors Improper Handling of Case Sensitivity
Vulnerability summary
CVE-2024-6866 is a high (CVSS 7.5) Improper Handling of Case Sensitivity vulnerability in corydolphin corydolphin/flask-cors. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 53.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 5Timeline
- 20-03-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST5.3MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
+0.01 pp
From 0.71% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- kubeflow-jupyter-web-app< 1.10.0-r3
- kubeflow-volumes-web-app< 1.10.0-r2
- superset-6.0< 6.0.0-r2
Wolfi3 products
- kubeflow-jupyter-web-app< 1.10.0-r3
- kubeflow-volumes-web-app< 1.10.0-r2
- superset-6.0< 6.0.0-r2
Corydolphin1 product
- corydolphin/flask-cors≥ unspecified, ≤ latest
Debian1 product
- python-flask-cors< 3.0.10-2+deb12u1 | < 6.0.0-1
Flask-cors_project1 product
- flask-cors4.0.1
PyPI1 product
- flask-cors< 6.0.0
Ubuntu1 product
- python-flask-cors< 3.0.8-2ubuntu0.1+esm1 | < 3.0.9-2ubuntu0.1 | < 4.0.0-1ubuntu0.1~esm1
7 vendors · 11 products
References
13 links- pypi.org/project/flask-corsPACKAGE