Bug 2353720 (CVE-2024-6839) - CVE-2024-6839 flask-cors: Improper Regex Path Matching in corydolphin/flask-cors
Summary: CVE-2024-6839 flask-cors: Improper Regex Path Matching in corydolphin/flask-cors
Keywords:
Status: NEW
Alias: CVE-2024-6839
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-20 11:08 UTC by OSIDB Bzimport
Modified: 2025-03-20 15:51 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-20 11:08:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.