flask-cors vulnerable to log injection when the log level is set to debug
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.
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2024-1681US | medium5.3 | — | ||
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 G… | ||||
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/corydolphin/flask-corsPACKAGE
- https://github.com/corydolphin/flask-cors/blob/40acc8092332dfed4bb54d7a4f89a6d479466de7/flask_cors/extension.py#L194WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-271.yamlWEB
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644WEB
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-1681ADVISORY
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan