Bug 2314051 (CVE-2024-47220)

Summary: CVE-2024-47220 WEBrick: HTTP request smuggling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akostadi, amasferr, anthomas, bbuckingham, caswilli, cbartlet, chazlett, dmayorov, ehelms, ggainey, jcantril, jlledo, juwatts, jvasik, kaycoth, mhulan, mjaros, mkudlej, mmakovy, nmoumoul, osousa, pcreech, rblanco, rchan, rojacob, smallamp, tjochec, vmugicag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the webrick toolkit. This issue occurs because the server incorrectly handles requests with both Content-Length and Transfer-Encoding headers. This can allow an attacker to sneak in an extra request such as GET /admin after the normal request POST /user. As a result, unauthorized users can access restricted areas like /admin by POST /user.
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: 2314148, 2314149    
Bug Blocks:    

Description OSIDB Bzimport 2024-09-22 01:20:36 UTC
An issue was discovered in the WEBrick toolkit through 1.8.1 for Ruby. It allows HTTP request smuggling by providing both a Content-Length header and a Transfer-Encoding header, e.g., "GET /admin HTTP/1.1\r\n" inside of a "POST /user HTTP/1.1\r\n" request. NOTE: the supplier's position is "Webrick should not be used in production."

Comment 2 errata-xmlrpc 2025-02-12 16:40:14 UTC
This issue has been addressed in the following products:

  RHOL-5.9-RHEL-9

Via RHSA-2025:1227 https://access.redhat.com/errata/RHSA-2025:1227