Bug 2045091 (CVE-2022-22707)

Summary: CVE-2022-22707 lighttpd: mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: gwync, hello, matthias, rhbugs
Target Milestone: ---Keywords: Security
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: 2022-01-25 16:00:47 UTC 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: 2045093, 2045092    
Bug Blocks:    

Description Marian Rehak 2022-01-25 15:26:30 UTC
In lighttpd 1.4.46 through 1.4.63, the mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow (4 bytes representing -1), as demonstrated by remote denial of service (daemon crash) in a non-default configuration. The non-default configuration requires handling of the Forwarded header in a somewhat unusual manner. Also, a 32-bit system is much more likely to be affected than a 64-bit system.

Reference:

https://redmine.lighttpd.net/issues/3134
https://www.debian.org/security/2022/dsa-5040

Comment 1 Marian Rehak 2022-01-25 15:26:48 UTC
Created lighttpd tracking bugs for this issue:

Affects: epel-all [bug 2045093]
Affects: fedora-all [bug 2045092]

Comment 2 Product Security DevOps Team 2022-01-25 16:00:45 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.