GitHub Advisoryadvisory · RubyGems
GHSA-c2f4-cvqm-65w2 Puma HTTP Request/Response Smuggling vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-21647
- Ecosystem
- RubyGems
- Packages
- puma
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-444
- Reviewed
- 2024-01-08
Affected packages
• RubyGems puma: >= 6.0.0, < 6.4.2 → fixed in 6.4.2
• RubyGems puma: < 5.6.8 → fixed in 5.6.8
Description
Impact
Prior to versions 6.4.2 and 5.6.8, puma exhibited dangerous behavior when parsing chunked transfer encoding bodies.
Fixed versions limit the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption.
Patches
The vulnerability has been fixed in 6.4.2 and 5.6.8.
Workarounds
No known workarounds.
References
• HTTP Request Smuggling
• Open an issue in Puma
• See our security policy
Related
Alias · CVE (1)
- CVE-2024-21647 Puma is a web server for Ruby/Rack applications built for parallelism. vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-21647 advisory
- https://github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93 web
- https://github.com/puma/puma/commit/60d5ee3734adc8cee85c3f0561af392448fe19b7 web
- https://github.com/puma/puma/commit/bbb880ffb6debbfdea535b4b3eb2204d49ae151d web
- https://github.com/puma/puma package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-21647.yml web
- https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html web