CVE-2024-6844
Last modified
CVE-2024-6844 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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 ' '. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Flask-Cors Project | Flask-Cors | 4.0.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-6844?
How severe is CVE-2024-6844?
How do I fix CVE-2024-6844?
Are you affected by CVE-2024-6844?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
