We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-6866

Case-Insensitive Path Matching in corydolphin/flask-cors



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.

Reserved 2024-07-17 | Published 2025-03-20 | Updated 2025-03-20 | Assigner @huntr_ai


MEDIUM: 5.3CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Problem types

CWE-178 Improper Handling of Case Sensitivity

Product status

Any version
affected

References

huntr.com/bounties/808c11af-faee-43a8-824b-b5ab4f62b9e6

cve.org (CVE-2024-6866)

nvd.nist.gov (CVE-2024-6866)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-6866

Support options

Helpdesk Chat, Email, Knowledgebase