Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
corydolphin corydolphin/flask-cors unspecified – ≤ latest —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-flask-cors 4.0.1-1 —
Debian 13 python-flask-cors 4.0.1-1 —
Debian 12 python-flask-cors 3.0.10-2+deb12u1 —
Debian 11 python-flask-cors 3.0.9-2+deb11u1 DLA-4197-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-flask-cors 3.0.9-2ubuntu0.1 USN-7612-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-flask-cors 4.0.0-1ubuntu0.1~esm1 USN-7612-1
Ubuntu Pro 20.04 LTS python-flask-cors 3.0.8-2ubuntu0.1+esm1 USN-7612-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Flask-Cors 4.0.1-1.1 openSUSE-SU-2026:11990-1, openSUSE-SU-2024:14293-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-jupyter-web-app 1.8.0-r7 —
Wolfi rolling kubeflow-volumes-web-app 1.8.0-r6 —
Wolfi rolling py3-flask-cors +5 4.0.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI flask-cors < 4.0.1 4.0.1 GHSA-84pr-m4jr-85g5
PyPI flask-cors <= 4.0.0 — PYSEC-2024-271

Advisories 4

References