CVE-2024-1681: corydolphin corydolphin/flask-cors Improper Output Neutralization for Logs
Vulnerability summary
CVE-2024-1681 is a medium (CVSS 5.3) Improper Output Neutralization for Logs vulnerability in corydolphin corydolphin/flask-cors. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 6Timeline
- 19-04-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.58% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Chainguard8 products
- kubeflow-jupyter-web-app< 1.8.0-r7
- kubeflow-volumes-web-app< 1.8.0-r6
- py3-flask-cors< 4.0.1-r0
- py3-supported-flask-cors< 4.0.1-r0
- py3.10-flask-cors< 4.0.1-r0
Wolfi8 products
- kubeflow-jupyter-web-app< 1.8.0-r7
- kubeflow-volumes-web-app< 1.8.0-r6
- py3-flask-cors< 4.0.1-r0
- py3-supported-flask-cors< 4.0.1-r0
- py3.10-flask-cors< 4.0.1-r0
Corydolphin2 products
- corydolphin/flask-cors≥ unspecified, ≤ latest
- flask-cors4.0.0
Debian1 product
- python-flask-cors< 3.0.10-2+deb12u1 | < 4.0.1-1
Opensuse1 product
- python-Flask-Cors&distro=openSUSE Tumbleweed< 4.0.1-1.1
PyPI1 product
- flask-cors< 4.0.1 | ≤ 4.0.0
Ubuntu1 product
- python-flask-cors< 3.0.8-2ubuntu0.1+esm1 | < 3.0.9-2ubuntu0.1 | < 4.0.0-1ubuntu0.1~esm1
7 vendors · 22 products