CVE-2022-24790
HTTP Request Smuggling in puma
Also known as GHSA-h99w-9q5r-gjq9
Mitigation
- Upgrade puma to one of 5.6.4, 4.3.12 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package puma (>= 5.0.0, < 5.6.4)
- Anyone running puma < 4.3.12; >= 5.0.0, < 5.6.4
Vulnerability facts
- Affected
- puma >= 5.0.0, < 5.6.4
- Fixed in
- 5.6.4, 4.3.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 1.90% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-444
- Modified
Description
Puma is a simple, fast, multi-threaded, parallel HTTP 1.1 server for Ruby/Rack applications. When using Puma behind a proxy that does not properly validate that the incoming HTTP request matches the RFC7230 standard, Puma and the frontend proxy may disagree on where a request starts and ends. This would allow requests to be smuggled via the front-end proxy to Puma. The vulnerability has been fixed in 5.6.4 and 4.3.12. Users are advised to upgrade as soon as possible. Workaround: when deploying a proxy in front of Puma, turning on any and all functionality to make sure that the request matches the RFC7230 standard.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-24790. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-24790.md Affected: puma >= 5.0.0, < 5.6.4 Fixed in: 5.6.4, 4.3.12 Steps: 1. Search this machine and project for puma (RubyGems), puma: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9
- https://www.debian.org/security/2022/dsa-5146
- https://security.gentoo.org/glsa/202208-28
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/
- https://nvd.nist.gov/vuln/detail/CVE-2022-24790
Other
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html
- https://github.com/puma/puma
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2022-24790.yml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB
- https://portswigger.net/web-security/request-smuggling
FAQ
Is CVE-2022-24790 being exploited?
There is no confirmed exploitation: CVE-2022-24790 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.90% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-24790?
Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-24790?
puma >= 5.0.0, < 5.6.4.
Is there a fix for CVE-2022-24790?
Yes. Fixed in 5.6.4, 4.3.12. Upgrade puma to one of 5.6.4, 4.3.12 (or later in the same release line).
How do I check if I'm affected by CVE-2022-24790?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.