corydolphin flask-cors up to 4.0.2/5.0.1 flask_cors/extension.py unquote_plus logic error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.2$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB 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): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Logic error
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237621
Nessus Name: Debian dla-4197 : python3-flask-cors - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: flask-cors 6.0.0
Patch: 35d875319621bd129a38b2b823abf4a2f6cda536

Timelineinfo

07/17/2024 🔍
03/20/2025 +246 days 🔍
03/20/2025 +0 days 🔍
08/01/2025 +134 days 🔍

Sourcesinfo

Product: github.com

Advisory: huntr.com
Status: Confirmed

CVE: CVE-2024-6844 (🔍)
GCVE (CVE): GCVE-0-2024-6844
GCVE (VulDB): GCVE-100-300371
EUVD: 🔍

Entryinfo

Created: 03/20/2025 14:57
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!