CVE-2024-6839CWE-41

Improper Regex Path Matching in corydolphin/flask-cors

Medium · published March 20, 2025

CVSS v3.0
4.3
EPSS
1%
Percentile
54.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
4.3 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00740 · 54.1th percentile
Weakness
CWE-41 · Improper Resolution of Path Equivalence
Published
2025-03-20T10:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Improper Regex Path Matching in corydolphin/flask-cors
    cvelistv5