Medium severity · published Apr 19, 2024
CVE-2024-1681
Log Injection Vulnerability in corydolphin/flask-cors
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
CO
corydolphin/flask-cors · corydolphin
through latest · source: vendor
FL
Flask-cors · Corydolphin
4.0.0 · source: NVD, CISA
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 corydolphin/flask-cors
7.5
CVE-2024-6866
Case-Insensitive Path Matching in corydolphin/flask-cors
7.5
CVE-2024-6221
Improper Access Control in corydolphin/flask-cors
5.3
CVE-2024-6844
Inconsistent CORS Matching Due to Handling of '+' in URL Path in corydolphin/flask-cors
5.3
CVE-2024-6839
Improper Regex Path Matching in corydolphin/flask-cors
