{"id":"CVE-2024-1681","aliases":["GHSA-84pr-m4jr-85g5","PYSEC-2024-271"],"url":"https://o3.security/vulnerability/CVE-2024-1681","summary":"flask-cors vulnerable to log injection when the log level is set to debug","details":"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.","published":"2024-04-19T20:15:09.273Z","modified":"2026-05-20T08:11:24.907016043Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"flask-cors","fixedVersion":"4.0.1"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html"},{"type":"EVIDENCE","url":"https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-20T08:11:24.907016043Z"}}