CVE catalog

CVE-2024-6221

Flask-CORS vulnerabilities

[CVE catalog]

Severity
High
Published
Source
[NVD] · [CVE record]
EPSS
0.72% · Oct 25, 2026

A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.

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+deb12u1not affected
Ubuntupython-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
Ubuntupython3-flask-corsnoble4.0.0-1ubuntu0.1~esm1fixed
PyPIflask-corsNot reported4.0.2fixed
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-corssourcesid5.0.0-1not yet assignedNot reported[1081300]
Debianpython-flask-corssourceforky5.0.0-1not yet assignedNot reported[1081300]
Debianpython-flask-corssourcetrixie5.0.0-1not yet assignedNot reported[1081300]
Debianpython-flask-corssourcebookwormNot affectedunimportantNot reported[1081300]
Ubuntupython-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-flask-corsdebnoble4.0.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
PyPIflask-corsPyPINot reported4.0.2Not reportedGHSA-HXWH-JPP2-84PMNot reported
Ubuntupython-flask-corsdebpro4.0.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-6221Not reported
Ubuntupython-flask-corsdeb22.043.0.9-2ubuntu0.1Not reportedUBUNTU-CVE-2024-6221Not reported

[Debian bug #1081300]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-flask-cors]Not affected

    Source package: [python-flask-cors]

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

      Not affected

      usn · python-flask-cors · debian · bookworm

    • 3.0.10-2+deb12u1 · all · bookworm

      Not affected

      usn · python-flask-cors · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [python-flask-cors]

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

      Fixed · Fixed: 5.0.0-1

      usn · python-flask-cors · debian · 13

    • 6.0.1-1 · all · trixie

      Fixed · Fixed: 5.0.0-1

      usn · python-flask-cors · debian · 13

Observed:

References