corydolphin flask-cors up to 4.0.2/5.0.1 flask_cors/extension.py unquote_plus logic error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in corydolphin flask-cors up to 4.0.2/5.0.1. Impacted is the function unquote_plus of the file flask_cors/extension.py. The manipulation leads to logic error.
This vulnerability is documented as CVE-2024-6844. The attack can be initiated remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in corydolphin flask-cors up to 4.0.2/5.0.1 and classified as problematic. This issue affects the function unquote_plus of the file flask_cors/extension.py. The manipulation with an unknown input leads to a logic error vulnerability. Using CWE to declare the problem leads to CWE-840. Impacted is confidentiality. The summary by CVE is:
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.
It is possible to read the advisory at huntr.com. The identification of this vulnerability is CVE-2024-6844 since 07/17/2024. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 237621 (Debian dla-4197 : python3-flask-cors - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.0.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 35d875319621bd129a38b2b823abf4a2f6cda536 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (237621) and EUVD (EUVD-2025-6972). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector (@huntr_ai): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Logic errorCWE: CWE-840
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 237621
Nessus Name: Debian dla-4197 : python3-flask-cors - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: flask-cors 6.0.0
Patch: 35d875319621bd129a38b2b823abf4a2f6cda536
Timeline
07/17/2024 🔍03/20/2025 🔍
03/20/2025 🔍
08/01/2025 🔍
Sources
Product: github.comAdvisory: huntr.com
Status: Confirmed
CVE: CVE-2024-6844 (🔍)
GCVE (CVE): GCVE-0-2024-6844
GCVE (VulDB): GCVE-100-300371
EUVD: 🔍
Entry
Created: 03/20/2025 14:57Updated: 08/01/2025 03:45
Changes: 03/20/2025 14:57 (62), 05/17/2025 23:09 (1), 05/31/2025 17:45 (2), 06/04/2025 07:45 (14), 08/01/2025 03:45 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.