CVE-2024-6839Medium· 4.3▾ SunlitFlask-CORS improper regex path matching vulnerability
▾ Sunlit zone — Low / medium · no exploitation signal
impact 23.7 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
0.7%
Last analysed / modified upstream
0.7% → 0.7%
corydolphin/flask-cors version 5.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.
flask-cors < 6.0.0Upgrade to a patched release:
flask-cors 6.0.0Connected by shared product, vendor, weakness, or advisory.
CVE-2024-1681Medium· 5.3flask-cors vulnerable to log injection when the log level is set to debug
CVE-2024-6844Medium· 5.3Flask-CORS allows for inconsistent CORS matching
CVE-2024-6866Medium· 5.3Flask-CORS vulnerable to Improper Handling of Case Sensitivity
CVE-2020-25032High· 7.5Flask-Cors Directory Traversal vulnerability
CVE-2024-6221High· 7.5Flask-CORS allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default