GHSA-84pr-m4jr-85g5MediumCVSS 5.3

flask-cors vulnerable to log injection when the log level is set to debug

Published
April 19, 2024
Last Modified
June 5, 2026

🔗 CVE IDs covered (1)

📋 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 products1

  • pip/flask-cors:<= 4.0.0

🔗 References (6)