Moderate severityNVD Advisory· Published Apr 19, 2024· Updated Nov 3, 2025
Log Injection Vulnerability in corydolphin/flask-cors
CVE-2024-1681
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flask-corsPyPI | < 4.0.1 | 4.0.1 |
Affected products
1- Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-84pr-m4jr-85g5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-1681ghsaADVISORY
- github.com/corydolphin/flask-cors/blob/40acc8092332dfed4bb54d7a4f89a6d479466de7/flask_cors/extension.pyghsaWEB
- huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644ghsaWEB
- lists.debian.org/debian-lts-announce/2025/05/msg00049.htmlghsaWEB
News mentions
0No linked articles in our index yet.