Improper Output Neutralization for Logs The advisory has been revoked - it doesn't affect any version of package python-flask-cors  (opens in a new tab)


Threat Intelligence

EPSS
0.58% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-PYTHONFLASKCORS-8193806
  • published26 Jun 2025
  • disclosed19 Apr 2024

Introduced: 19 Apr 2024

CVE-2024-1681  (opens in a new tab)
CWE-117  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:24.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-flask-cors package and not the python-flask-cors package as distributed by Ubuntu.

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.