CVE-2024-1681 Log Injection Vulnerability in corydolphin/flask-cors
MediumCVSS 5.3
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 9 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| corydolphin flask-cors | = 4.0.0; All versions | No fix listed | No fix yet |
| corydolphin/flask-cors | <= latest | after latest | Fixed |
| debian/python-flask-cors(Debian 12) | < 3.0.10-2+deb12u1; = 3.0.10-2 | 3.0.10-2+deb12u1 | Fixed |
| debian/python-flask-cors(Debian 13) | < 4.0.1-1 | 4.0.1-1 | Fixed |
| debian/python-flask-cors(Debian 14) | < 4.0.1-1 | 4.0.1-1 | Fixed |
| pypi flask-cors(PyPI) | < 4.0.1; <= 4.0.0; = 0.0.0.dev3; = 0.0.0.dev4 +44 more | 4.0.1 | Fixed |
| ubuntu/python-flask-cors(Ubuntu 22.04) | < 3.0.9-2ubuntu0.1; = 3.0.9-2 | 3.0.9-2ubuntu0.1 | Fixed |
| ubuntu/python-flask-cors(Ubuntu 24.04) | < 4.0.0-1ubuntu0.1~esm1 | 4.0.0-1ubuntu0.1~esm1 | Fixed |
| ubuntu/python-flask-cors(Ubuntu Pro 20.04) | < 3.0.8-2ubuntu0.1+esm1; = 3.0.8-2; = 3.0.8-2ubuntu0.1 | 3.0.8-2ubuntu0.1+esm1 | Fixed |
| ubuntu/python-flask-cors(Ubuntu Pro 24.04) | < 4.0.0-1ubuntu0.1~esm1; = 4.0.0-1 | 4.0.0-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi flask-cors(PyPI) | < 4.0.1 | 4.0.1 |
| pypi flask-cors(PyPI) | = 0.0.0.dev3 | No fix listed |
| pypi flask-cors(PyPI) | = 0.0.0.dev4 | No fix listed |
| pypi flask-cors(PyPI) | = 1.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.1.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.1.2 | No fix listed |
| pypi flask-cors(PyPI) | = 1.1.3 | No fix listed |
| pypi flask-cors(PyPI) | = 1.10.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.10.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.10.2 | No fix listed |
| pypi flask-cors(PyPI) | = 1.10.3 | No fix listed |
| pypi flask-cors(PyPI) | = 1.2.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.2.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.3.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.3.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.4.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.5.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.6.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.6.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.7.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.7.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.7.2 | No fix listed |
| pypi flask-cors(PyPI) | = 1.7.3 | No fix listed |
| pypi flask-cors(PyPI) | = 1.7.4 | No fix listed |
Show 38 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi flask-cors(PyPI) | = 1.8.0 | No fix listed |
| pypi flask-cors(PyPI) | = 1.8.1 | No fix listed |
| pypi flask-cors(PyPI) | = 1.9.0 | No fix listed |
| pypi flask-cors(PyPI) | = 2.0.0 | No fix listed |
| pypi flask-cors(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi flask-cors(PyPI) | = 2.0.1 | No fix listed |
| pypi flask-cors(PyPI) | = 2.1.0 | No fix listed |
| pypi flask-cors(PyPI) | = 2.1.1 | No fix listed |
| pypi flask-cors(PyPI) | = 2.1.2 | No fix listed |
| pypi flask-cors(PyPI) | = 2.1.3 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.0 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.1 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.10 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.2 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.3 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.4 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.6 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.7 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.8 | No fix listed |
| pypi flask-cors(PyPI) | = 3.0.9 | No fix listed |
| pypi flask-cors(PyPI) | = 4.0.0 | No fix listed |
| pypi flask-cors(PyPI) | = 4.0.0a0 | No fix listed |
| pypi flask-cors(PyPI) | <= 4.0.0 | No fix listed |
| debian/python-flask-cors(Debian:12) | < 3.0.10-2+deb12u1 | 3.0.10-2+deb12u1 |
| debian/python-flask-cors(Debian:12) | = 3.0.10-2 | No fix listed |
| debian/python-flask-cors(Debian:13) | < 4.0.1-1 | 4.0.1-1 |
| debian/python-flask-cors(Debian:14) | < 4.0.1-1 | 4.0.1-1 |
| ubuntu/python-flask-cors(Ubuntu:22.04) | < 3.0.9-2ubuntu0.1 | 3.0.9-2ubuntu0.1 |
| corydolphin/flask-cors | <= latest | No fix listed |
| corydolphin flask-cors | All versions | No fix listed |
| ubuntu/python-flask-cors(Ubuntu:24.04) | < 4.0.0-1ubuntu0.1~esm1 | 4.0.0-1ubuntu0.1~esm1 |
| corydolphin flask-cors | = 4.0.0 | No fix listed |
| ubuntu/python-flask-cors(Ubuntu:Pro:20.04) | < 3.0.8-2ubuntu0.1+esm1 | 3.0.8-2ubuntu0.1+esm1 |
| ubuntu/python-flask-cors(Ubuntu:Pro:20.04) | = 3.0.8-2 | No fix listed |
| ubuntu/python-flask-cors(Ubuntu:Pro:20.04) | = 3.0.8-2ubuntu0.1 | No fix listed |
| ubuntu/python-flask-cors(Ubuntu:22.04) | = 3.0.9-2 | No fix listed |
| ubuntu/python-flask-cors(Ubuntu:Pro:24.04) | < 4.0.0-1ubuntu0.1~esm1 | 4.0.0-1ubuntu0.1~esm1 |
| ubuntu/python-flask-cors(Ubuntu:Pro:24.04) | = 4.0.0-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- github.com
- huntr.com exploit issue-tracking third-party-advisory
- lists.debian.org
- github.com vendor-advisory
- Debian Security Tracker CVE-2024-1681 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7612-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking