CVE-2024-6839
published medium CVSS 3.0 · 4.3Improper Regex Path Matching in corydolphin/flask-cors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| corydolphin | — | corydolphin/flask-corsunspecified through latest | Affected | Not stated | @huntr_ai |
| Debian | bullseye | python-flask-cors | Advisory build | 3.0.9-2+deb11u1 | DLA-4197-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| Ubuntu | focal | python-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsaarch64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsppc64le | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corss390x | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Flask-Corsx86_64 | Advisory build | 6.0.2-1.1 | OPENSUSE-SU-2026:10485-1 |
| Ubuntu | focal | python3-flask-cors | Advisory build | 3.0.8-2ubuntu0.1+esm1 | USN-7612-1 |
| Ubuntu | jammy | python-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | jammy | python3-flask-cors | Advisory build | 3.0.9-2ubuntu0.1 | USN-7612-1 |
| Ubuntu | noble | python-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
| Ubuntu | noble | python3-flask-cors | Advisory build | 4.0.0-1ubuntu0.1~esm1 | USN-7612-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| corydolphin | corydolphin/flask-cors | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-41 CWE-41 Improper Resolution of Path Equivalence
References
2Provider assertions
3@huntr_ai · cna
Improper Regex Path Matching in corydolphin/flask-cors
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 12ccd83203028a098db6809b1f331101e9d7cc988968b7b5d128e1b5cb2867b7
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record