CVE-2024-6844
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
MEDIUM 5.3
En bref
- Source
- NVD
- EPSS
- EPSS 0.32 % · centile 25 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- @huntr_ai
- Statut NVD
- Modified
Description
A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.
Faiblesses (CWE)
- CWE-346 — Erreur de validation de l'origine
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | @huntr_ai |
| CVSS 3.0 | MEDIUM 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD · security@huntr.dev (Secondary) |
Avis
- GHSA-8vgw-p6qm-5gr7 — Flask-CORS allows for inconsistent CORS matching
- PYSEC-2026-1385 — Flask-CORS allows for inconsistent CORS matching
Références européennes
- ENISA EUVD · EUVD-2025-6972
- GCVE · GCVE-0-2024-6844
Avis du CERT-FR
- CERTFR-2026-AVI-0606 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0896 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:flask-cors_project:flask-cors:4.0.1:*:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| corydolphin · corydolphin/flask-cors | affected unspecified ≤ latest |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |