Medium severity · published Apr 19, 2024
CVE-2024-1681
corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug
5.3
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
Flask-cors · Corydolphin
4.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-1681
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-1681
Exploit
https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html
More from Flask-cors
7.5
CVE-2024-6221
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
