CVE-2024-1681

Log Injection Vulnerability in corydolphin/flask-cors

State
Published
Severity
5.3 Medium
Published
Apr 19, 2024
Updated
Nov 3, 2025
Reserved
Feb 20, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.05.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N@huntr_ai

Weaknesses

  • CWE-117 Improper Output Neutralization for Logs

Affected Products

ProductVersions
corydolphin/flask-corscorydolphin
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.