Medium severity · published Mar 20, 2025
CVE-2024-6839
Improper Regex Path Matching in corydolphin/flask-cors
5.3
CVSS
0.7%
EPSS
No
On KEV
Description
corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
corydolphin/flask-cors · corydolphin
through latest · source: vendor
FL
Affected product
CO
corydolphin/flask-cors
corydolphin
More from corydolphin/flask-cors
7.5
CVE-2024-6866
Case-Insensitive Path Matching in corydolphin/flask-cors
7.5
CVE-2024-6221
Improper Access Control in corydolphin/flask-cors
5.3
CVE-2024-6844
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
5.3
CVE-2024-1681
Log Injection Vulnerability in corydolphin/flask-cors