CVE-2024-1681
python-flask-cors - security update
5.3
MEDIUM
CVSS 3.1
EPSS 0.18%
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.
How to fix CVE-2024-1681
To remediate CVE-2024-1681, upgrade the affected package to a fixed version below.
- —upgrade to 3.0.9-2+deb11u1 or later
- —upgrade to 3.0.9-2+deb11u1 or later
- —upgrade to 4.0.1 or later
- —no fix listed
Is CVE-2024-1681 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.0.9-2+deb11u1
- from 0, < 3.0.9-2+deb11u1
- from 0, < 4.0.1
- from 0, <= 4.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |