CVE catalog

CVE-2024-1681

Flask-CORS vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.58% · Oct 25, 2026

corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.

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 reported4.0.1fixed
PyPIflask-corsNot reportedNot reportedunknown
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
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
Opensusepython-Flask-Corstumbleweed4.0.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-flask-corssourcesid4.0.1-1not yet assignedNot reported[1069764]
Debianpython-flask-corssourceforky4.0.1-1not yet assignedNot reported[1069764]
Debianpython-flask-corssourcetrixie4.0.1-1not yet assignedNot reported[1069764]
Debianpython-flask-corssourcebookworm3.0.10-2+deb12u1not yet assignedNot reported[1069764]
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.1Not reportedGHSA-84PR-M4JR-85G5Not reported
Ubuntupython-flask-corsdebpro4.0.0-1ubuntu0.1~esm1Not reportedUSN-7612-1Not reported
Ubuntupython-flask-corsdeb22.043.0.9-2ubuntu0.1Not reportedUSN-7612-1Not reported
Ubuntupython-flask-corsdebpro4.0.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-1681Not reported
Ubuntupython-flask-corsdeb22.043.0.9-2ubuntu0.1Not reportedUBUNTU-CVE-2024-1681Not reported
Opensusepython-Flask-Corsrpmtumbleweed4.0.1-1.1Not reportedOPENSUSE-SU-2024:14293-1Not reported

[Debian bug #1069764]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References