CVE-2024-6839 Details
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.
A vulnerability has been identified in Corydolphin Flask-CORS version 4.0.1, where the plugin improperly prioritizes longer regex patterns over more specific ones when matching paths. This flaw can result in less restrictive Cross-Origin Resource Sharing (CORS) policies being applied to sensitive endpoints, potentially allowing unauthorized cross-origin access to confidential data or functionality. Such a mismatch increases the risk of unauthorized actions by malicious actors.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html | CVE | |
| https://huntr.com/bounties/403eb1fc-86f4-4820-8eba-0f3dfae9f2b4 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-41 | Improper Resolution of Path Equivalence | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flask-cors project flask-cors | 4.0.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 1, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | New CVE Received | [email protected] |