CVE-2024-1681

Log Injection Vulnerability in corydolphin/flask-cors

Published Apr 19, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4197-1 python-flask-cors security update
EUVD EUVD EUVD-2024-1152 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.
Github GHSA Github GHSA GHSA-84pr-m4jr-85g5 flask-cors vulnerable to log injection when the log level is set to debug
Ubuntu USN Ubuntu USN USN-7612-1 Flask-CORS vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:corydolphin:flask-cors:-:*:*:*:*:*:*:*
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:corydolphin:flask-cors:4.0.0:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00245}

epss

{'score': 0.00293}

Type Values Removed Values Added
Metrics epss

{'score': 0.00238}

epss

{'score': 0.00245}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Nov 3, 2025, 7:29 PM
Reserved
Feb 20, 2024, 7:13 PM
Status
Modified
Published
Apr 19, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:04 AM