CVE-2024-1681

MEDIUM

flask-cors - Log Injection

Title source: llm
STIX 2.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.

Scores

CVSS v3 5.3
EPSS 0.0018
EPSS Percentile 39.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-117
Status published
Products (2)
corydolphin/flask-cors 4.0.0
pypi/flask-cors 0 - 4.0.1PyPI
Published Apr 19, 2024
Tracked Since Feb 18, 2026