CVE-2024-1681

unknown
Published 2024-04-19 · Modified 2026-05-21
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2024-1681

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2024-1681.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed3.0.10-2+deb12u1
debian debianbullseyefixed3.0.9-2+deb11u1
debian debianforkyfixed4.0.1-1
debian debiansidfixed4.0.1-1
debian debiantrixiefixed4.0.1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIflask-cors<4.0.14.0.1
python PyPIflask-cors<=4.0.0

References

Verify integrity in audit chain (admin only). AS-IS.