cve.bz

CVE-2024-1681

5.3 mediumEPSS 0.6%

Medium (5.3) in corydolphin flask-cors. EPSS 0.6% chance of exploitation in the next 30 days. Fixed in flask-cors 4.0.1.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.6% chance of exploitation in the next 30 days; higher than 47% of CVEs (scores of 2026-10-31)
CWE
CWE-117
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-84pr-m4jr-85g5PyPIflask-cors<4.0.14.0.1
PYSEC-2024-271PyPIflask-cors<=4.0.0no fix published

References

Check your stackJSON