Live threats

All CVEs / Corydolphin

CVE-2024-1681Corydolphin Flask-cors

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
No
Published
Apr 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-117
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-cors.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI flask-cors < 4.0.1 4.0.1 pip install "flask-cors>=4.0.1"
PyPI flask-cors ≤ 4.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-84pr-m4jr-85g5, PYSEC-2024-271). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
corydolphinflask-cors4.0.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.