CVE-2024-1681
mediumpriority · track · 21EPSS 0.006 · 47 %ileEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-84pr-m4jr-85g5flask-cors vulnerable to log injection when the log level is set to debug2024-04-19ghsa · osvUS
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.
- PYSEC-2024-2712024-04-19vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-1681/cnnvd
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644cnnvd
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644enisa_euvd
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644ExploitThird Party Advisorynvd
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan