Bug 2276152 (CVE-2024-1681)

Summary: CVE-2024-1681 python-flask-cors: improper output neutralization for logs
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2276154, 2276153    
Bug Blocks:    

Description Robb Gatica 2024-04-19 20:47:28 UTC
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.

https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644

Comment 1 Robb Gatica 2024-04-19 20:47:43 UTC
Created python-flask-cors tracking bugs for this issue:

Affects: epel-all [bug 2276154]
Affects: fedora-all [bug 2276153]