ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-1681

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:20.04:LTSpython-flask-cors
All versions before 3.0.8-2ubuntu0.1+esm1 (fixed in 3.0.8-2ubuntu0.1+esm1)
Ubuntu:22.04:LTSpython-flask-cors
All versions before 3.0.9-2ubuntu0.1 (fixed in 3.0.9-2ubuntu0.1)
Ubuntu:Pro:24.04:LTSpython-flask-cors
All versions before 4.0.0-1ubuntu0.1~esm1 (fixed in 4.0.0-1ubuntu0.1~esm1)

References