CVE-2024-1681
2 advisories.
PyPI/flask-cors CVE-2024-1681: medium 5.3
flask-cors vulnerable to log injection when the log level is set to debug
Action: Upgrade flask-cors to 4.0.1 or later.
pip install flask-cors==4.0.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.0.1 | - |
Fixed versions
| 4.0.1 |
Sources
- osv: GHSA-84pr-m4jr-85g5
- https://nvd.nist.gov/vuln/detail/CVE-2024-1681
- https://github.com/corydolphin/flask-cors
- https://github.com/corydolphin/flask-cors/blob/40acc8092332dfed4bb54d7a4f89a6d479466de7/flask_cors/extension.py#L194
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-cors/PYSEC-2024-271.yaml
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html
CVE-2024-1681 · published · modified · JSON
PyPI/flask-cors CVE-2024-1681: medium 5.3
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 containin
Action: No fix published. Pin and monitor.
Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | - | 4.0.0 |
Fixed versions
No fixed version in the source.
Sources
- osv: PYSEC-2024-271
- https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html
- https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644
- https://github.com/advisories/GHSA-84pr-m4jr-85g5
CVE-2024-1681 · published · modified · JSON