> CVE-2024-6866 [HIGH]

« BACK_TO_HOME
PUBLISHED
2025-03-20 10:15
MODIFIED
2025-08-01 01:36
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.72%
Top 45.8%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08

> DESCRIPTION

corydolphin/flask-cors version 4.01 contains a vulnerability where the request path matching is case-insensitive due to the use of the `try_match` function, which is originally intended for matching hosts. This results in a mismatch because paths in URLs are case-sensitive, but the regex matching treats them as case-insensitive. This misconfiguration can lead to significant security vulnerabilities, allowing unauthorized origins to access paths meant to be restricted, resulting in data exposure and potential data leaks.

> AFFECTED_PRODUCTS

Flask-Cors Project - Flask Cors
Version: 4.0.1

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-43qf-4rqw-9q2g MODERATE

Flask-CORS vulnerable to Improper Handling of Case Sensitivity

AFFECTED PACKAGES:
PIP / flask-cors
<= 5.0.1
Fixed in: 6.0.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Case-Insensitive Path Matching in corydolphin/flask-cors

AFFECTED PACKAGES:
Unknown / Unknown
1 versions affected
ALIASES:
GHSA-43qf-4rqw-9q2g, PYSEC-2026-1383

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/03/2025 10:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:59
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME