Bug 1218638 (CVE-2024-21647)

Summary: VUL-0: CVE-2024-21647: rubygem-puma: DoS when parsing chunked Transfer-Encoding bodies
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Darragh O'Reilly <doreilly>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, camila.matos, cloud-bugs, robert.simai, stoyan.manolov
Version: unspecifiedFlags: stoyan.manolov: needinfo?
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/390249/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-21647:5.3:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-01-09 09:09:03 UTC
Puma is a web server for Ruby/Rack applications built for parallelism. Prior to version 6.4.2, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies in a way that allowed HTTP request smuggling. Fixed versions limits the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption. This vulnerability has been fixed in versions 6.4.2 and 5.6.8.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-21647
https://www.cve.org/CVERecord?id=CVE-2024-21647
https://github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93
https://github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2
https://bugzilla.redhat.com/show_bug.cgi?id=2257340

Patch:
https://github.com/puma/puma/commit/bbb880ffb6debbfdea535b4b3eb2204d49ae151d