Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Flask-Cors Project | Flask-Cors | 4.0.1 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0ExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html
FAQ
What is CVE-2024-6844?
CVE-2024-6844 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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...
How severe is CVE-2024-6844?
CVE-2024-6844 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-6844?
Check the references section above for vendor advisories and patch information. Affected products include: Flask-Cors Project Flask-Cors.