Bug 1223183 (CVE-2024-1681)

Summary: VUL-0: CVE-2024-1681: python-Flask-Cors: improper output neutralization for logs
Product: [openSUSE] openSUSE Distribution Reporter: SMASH SMASH <smash_bz>
Component: SecurityAssignee: Antonio Larrosa <alarrosa>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: stoyan.manolov
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/402781/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-1681:5.3:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-22 07:22:48 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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-1681
https://www.cve.org/CVERecord?id=CVE-2024-1681
https://huntr.com/bounties/25a7a0ba-9fa2-4777-acb6-03e5539bb644
https://bugzilla.redhat.com/show_bug.cgi?id=2276152