CVE catalog

CVE-2024-6844

Flask-CORS vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.32% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-flask-corssid6.0.5-1fixed
Debianpython-flask-corsforky6.0.5-1fixed
Debianpython-flask-corstrixie6.0.1-1fixed
Debianpython-flask-corsbookworm3.0.10-2+deb12u1fixed
Ubuntupython-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
Ubuntupython3-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
PyPIflask-corsNot reported6.0.0fixed
Ubuntupython-flask-corspro4.0.0-1vulnerable
Ubuntupython-flask-corspro4.0.0-1ubuntu0.1~esm1fixed
Ubuntupython-flask-cors22.043.0.9-2vulnerable
Ubuntupython-flask-cors22.043.0.9-2ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-flask-corssourcesid6.0.0-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourceforky6.0.0-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourcetrixie6.0.0-1not yet assignedNot reported[1100988]
Debianpython-flask-corssourcebookworm3.0.10-2+deb12u1not yet assignedNot reported[1100988]
Ubuntupython-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
PyPIflask-corsPyPINot reported6.0.0Not reportedGHSA-8VGW-P6QM-5GR7Not reported
Ubuntupython-flask-corsdebpro4.0.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-6844Not reported
Ubuntupython-flask-corsdeb22.043.0.9-2ubuntu0.1Not reportedUBUNTU-CVE-2024-6844Not reported

[Debian bug #1100988]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-flask-cors]

    Details (2)
    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.10-2+deb12u1

      usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12

    • 3.0.10-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.0.10-2+deb12u1

      usn · python-flask-cors · debian · bookworm; usn · python-flask-cors · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-flask-cors]

    Details (2)
    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 6.0.0-1

      usn · python-flask-cors · debian · 13

    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 6.0.0-1

      usn · python-flask-cors · debian · 13

Observed:

References