flask-cors
Affected
- introduced
0, fixed4.0.1(ecosystem)
Fixed versions
4.0.1
Fix
- Fixed version
4.0.1pip install --upgrade flask-cors==4.0.1
Advisory
Also known as: CVE-2024-1681, PYSEC-2024-271
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.
Medium Basis: The source's own band: MODERATE
0, fixed 4.0.1 (ecosystem)4.0.1
4.0.1pip install --upgrade flask-cors==4.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0