CVE-2024-6844

Source
https://cve.org/CVERecord?id=CVE-2024-6844
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6844.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6844
Aliases
Downstream
Related
Published
2025-03-20T10:10:51.818Z
Modified
2026-07-15T01:49:03.546521970Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-346"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6844.json",
    "cna_assigner": "@huntr_ai"
}
References

Affected packages

Git / github.com/corydolphin/flask-cors

Affected ranges

Type
GIT
Repo
https://github.com/corydolphin/flask-cors
Events
Database specific
{
    "cpe": "cpe:2.3:a:flask-cors_project:flask-cors:4.0.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.1"
        },
        {
            "last_affected": "4.0.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6844.json"