CVE-2024-6844
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
Reported by @huntr_ai · Published March 20, 2025
flask-cors is fixed in 6.0.0 (PyPI)
A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| flask-cors | PyPI | 6.0.0 |
| kubeflow-jupyter-web-app | Chainguard | 1.10.0-r3 |
| kubeflow-jupyter-web-app | Wolfi | 1.10.0-r3 |
| kubeflow-volumes-web-app | Wolfi | 1.10.0-r2 |
| superset-6.0 | Chainguard | 6.0.0-r2 |
| superset-6.0 | Wolfi | 6.0.0-r2 |
| kubeflow-volumes-web-app | Chainguard | 1.10.0-r2 |
| corydolphin/flask-cors | corydolphin | latest |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| corydolphin | corydolphin/flask-cors | unspecified |
| chainguard | kubeflow-jupyter-web-app | 0 |
| wolfi | kubeflow-jupyter-web-app | 0 |
| wolfi | kubeflow-volumes-web-app | 0 |
| chainguard | superset-6.0 | 0 |
| corydolphin | corydolphin/flask-cors | * |
| wolfi | superset-6.0 | 0 |
| PyPI | flask-cors | 0 |
| chainguard | kubeflow-volumes-web-app | 0 |
Timeline
- Mar 20, 2025 CVE Published
- Mar 20, 2025 EPSS Score (30 in total, the first dated here)
- Mar 21, 2025 Coalition ESS Score (10 in total, the first dated here)
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-6844
vulnetix vdb fixes CVE-2024-6844
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6844/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6844 advisory
- https://github.com/advisories/GHSA-8vgw-p6qm-5gr7 advisory
- https://github.com/corydolphin/flask-cors/commit/35d875319621bd129a38b2b823abf4a2f6cda536 patch
- https://github.com/corydolphin/flask-cors url
- https://github.com/corydolphin/flask-cors/blob/main/flask_cors/extension.py#L193 url
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html url