CVE-2022-24790
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.
Weakness
- CWE-444: Inconsistent Interpretation of HTTP Requests
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-04-23 |
Timeline
- 2022-03-30Published by the CNA21:50 UTC
- 2022-03-30GitHub advisory published (GHSA-h99w-9q5r-gjq9)same day
- 2025-04-23CISA SSVC decision recorded1120 days after publication
Exploit and advisory records
GitHub advisory GHSA-h99w-9q5r-gjq9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems puma | before 4.3.12 | 4.3.12 |
| RubyGems puma | from 5.0.0 before 5.6.4 | 5.6.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| puma puma | before 4.3.12fixed in 4.3.12from 5.0.0 before 5.6.4fixed in 5.6.4 | 4.3.125.6.4 |
| debian debian_linux | 10.0no fix listed11.0no fix listed | not listednot listed |
| fedoraproject fedora | 35no fix listed36no fix listed37no fix listed | not listednot listednot listed |
References
- https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/
- 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/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/
- https://security.gentoo.org/glsa/202208-28
- https://www.debian.org/security/2022/dsa-5146
- https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-24790'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-24790'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-24790'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-24790'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).