
CVE catalog
CVE-2024-1681
Flask-CORS vulnerabilities
- Severity
- Medium · CVSS 5.3
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-flask-cors | sid | 6.0.5-1 | fixed |
| Debian | python-flask-cors | forky | 6.0.5-1 | fixed |
| Debian | python-flask-cors | trixie | 6.0.1-1 | fixed |
| Debian | python-flask-cors | bookworm | 3.0.10-2+deb12u1 | fixed |
| Ubuntu | python-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python3-flask-cors | noble | 4.0.0-1ubuntu0.1~esm1 | fixed |
| PyPI | flask-cors | Not reported | 4.0.1 | fixed |
| PyPI | flask-cors | Not reported | Not reported | unknown |
| Ubuntu | python-flask-cors | pro | 4.0.0-1 | vulnerable |
| Ubuntu | python-flask-cors | pro | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2 | vulnerable |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2ubuntu0.1 | fixed |
| Ubuntu | python-flask-cors | pro | 4.0.0-1 | vulnerable |
| Ubuntu | python-flask-cors | pro | 4.0.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2 | vulnerable |
| Ubuntu | python-flask-cors | 22.04 | 3.0.9-2ubuntu0.1 | fixed |
| Opensuse | python-Flask-Cors | tumbleweed | 4.0.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-flask-cors | source | sid | 4.0.1-1 | not yet assigned | Not reported | [1069764] |
| Debian | python-flask-cors | source | forky | 4.0.1-1 | not yet assigned | Not reported | [1069764] |
| Debian | python-flask-cors | source | trixie | 4.0.1-1 | not yet assigned | Not reported | [1069764] |
| Debian | python-flask-cors | source | bookworm | 3.0.10-2+deb12u1 | not yet assigned | Not reported | [1069764] |
| Ubuntu | python-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | python3-flask-cors | deb | noble | 4.0.0-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| PyPI | flask-cors | PyPI | Not reported | 4.0.1 | Not reported | GHSA-84PR-M4JR-85G5 | Not reported |
| Ubuntu | python-flask-cors | deb | pro | 4.0.0-1ubuntu0.1~esm1 | Not reported | USN-7612-1 | Not reported |
| Ubuntu | python-flask-cors | deb | 22.04 | 3.0.9-2ubuntu0.1 | Not reported | USN-7612-1 | Not reported |
| Ubuntu | python-flask-cors | deb | pro | 4.0.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2024-1681 | Not reported |
| Ubuntu | python-flask-cors | deb | 22.04 | 3.0.9-2ubuntu0.1 | Not reported | UBUNTU-CVE-2024-1681 | Not reported |
| Opensuse | python-Flask-Cors | rpm | tumbleweed | 4.0.1-1.1 | Not reported | OPENSUSE-SU-2024:14293-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_14293-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-1681]
- [https://osv.dev/vulnerability/DLA-4197-1]
- [https://osv.dev/vulnerability/GHSA-84pr-m4jr-85g5]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-1681]
- [https://osv.dev/vulnerability/USN-7612-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14293-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-1681]
- [https://ubuntu.com/security/notices/USN-7612-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]