Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931228 (CVE-2024-1681)

Summary: <dev-python/flask-cors-4.0.1: log injection when the log level is set to debug
Product: Gentoo Security Reporter: Michał Górny <mgorny>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint, python, wking
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/advisories/GHSA-84pr-m4jr-85g5
Whiteboard: B3 [glsa?]
Package list:
Runtime testing required: ---
Bug Depends on: 931227    
Bug Blocks:    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-05-05 04:33:31 UTC
From $URL:

> 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.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-05-05 06:13:39 UTC
cleanup done.