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.
Metrics
Affected Vendors & Products
References
History
Fri, 01 Aug 2025 12:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Flask-cors Project
Flask-cors Project flask-cors |
|
| CPEs | cpe:2.3:a:flask-cors_project:flask-cors:4.0.1:*:*:*:*:*:*:* | |
| Vendors & Products |
Flask-cors Project
Flask-cors Project flask-cors |
|
| Metrics |
cvssV3_1
|
Thu, 20 Mar 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 20 Mar 2025 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Improper Regex Path Matching in corydolphin/flask-cors | |
| Weaknesses | CWE-41 | |
| References |
| |
| Metrics |
cvssV3_0
|
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2025-03-20T10:09:42.595Z
Updated: 2025-03-20T18:35:47.526Z
Reserved: 2024-07-17T17:48:41.089Z
Link: CVE-2024-6839
Updated: 2025-03-20T17:50:24.844Z
Status : Analyzed
Published: 2025-03-20T10:15:33.743
Modified: 2025-08-01T12:26:41.760
Link: CVE-2024-6839
No data.