Live threats

All CVEs / Corydolphin

CVE-2024-6221Corydolphin Flask-cors

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Aug 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI flask-cors < 4.0.2 4.0.2 pip install "flask-cors>=4.0.2"
PyPI flask-cors < 4.0.2 4.0.2 pip install "flask-cors>=4.0.2"

Per OSV / GitHub Advisories (GHSA-hxwh-jpp2-84pm, PYSEC-2024-71). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
corydolphinflask-cors4.0.1

Official sources

References

Links published by the sources. Open them with care.