python3-flask-cors: corydolphin/flask-cors version 4.01 contains a vulnerability where therequest path matching is case-insensitive due t...
CVE-2024-6866 is fixed in 2 products on 1 platform, first by python3-flask-cors 3.0.8-2ubuntu0.1+esm1, released March 20, 2025. It is not reported as exploited. Patch Radar priority: High.
corydolphin/flask-cors version 4.01 contains a vulnerability where therequest path matching is case-insensitive due to the use of the `try_match`function, which is originally intended for matching hosts. This results ina mismatch because paths in URLs are case-sensitive, but the regex matchingtreats them as case-insensitive. This misconfiguration can lead tosignificant security vulnerabilities, allowing unauthorized origins toaccess paths meant to be restricted, resulting in data exposure andpotential data leaks.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| python-flask-cors · Debian 12.15 (bookworm) | 3.0.10-2+deb12u1 | DEBIAN-CVE-2024-6866 | Mar 20, 2025 |
| python-flask-cors · Debian 13.5 (trixie) | 6.0.0-1 | DEBIAN-CVE-2024-6866 | Mar 20, 2025 |
| python-flask-cors · Debian 14 | 6.0.0-1 | DEBIAN-CVE-2024-6866 | Mar 20, 2025 |
| python3-flask-cors · Ubuntu 20.04 LTS (focal) | 3.0.8-2ubuntu0.1+esm1 | python3-flask-cors 3.0.8-2ubuntu0.1+esm1 | Mar 20, 2025 |
| python3-flask-cors · Ubuntu 22.04.1 LTS (jammy) | 3.0.9-2ubuntu0.1 | python3-flask-cors 3.0.9-2ubuntu0.1 | Mar 20, 2025 |
| python3-flask-cors · Ubuntu 24.04.5 LTS (noble) | 4.0.0-1ubuntu0.1~esm1 | python3-flask-cors 4.0.0-1ubuntu0.1~esm1 | Mar 20, 2025 |
| python3-flask-cors · Ubuntu 24.10 (oracular) | 4.0.1-1ubuntu0.1 | python3-flask-cors 4.0.1-1ubuntu0.1 | Jan 16, 2026 |
| python3-flask-cors · Ubuntu 25.04 (plucky) | 5.0.0-1ubuntu0.1 | python3-flask-cors 5.0.0-1ubuntu0.1 | Jan 16, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.