CVE-2024-6866

unknown
Published 2025-03-20 · Modified 2026-02-04
CVSS v3
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-6866

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.0.10-2+deb12u1
debian debianbullseyefixed3.0.9-2+deb11u1
debian debianforkyfixed6.0.0-1
debian debiansidfixed6.0.0-1
debian debiantrixiefixed6.0.0-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIflask-cors<6.0.06.0.0

References

Verify integrity in audit chain (admin only). AS-IS.