Vulnerability in Puma
CVE-2022-24790
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.
Vulnerability class: HTTP Request Smuggling
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.022 (81.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 81.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- Puma — versions < 4.3.12, >= 5.0.0, < 5.6.4
- Debian Linux — versions 10.0, 11.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
References
- github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9 (Third Party Advisory, Issue Tracking)
- github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5 (Patch, Third Party Advisory)
- www.debian.org/security/2022/dsa-5146 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202208-28 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/08/msg00015.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-24790?
- CVE-2022-24790 is a critical-severity vulnerability in Puma, classified under Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling). CVSS score: 9.1/10. Published 2022-03-30.
- How severe is CVE-2022-24790?
- Critical severity. CVSS v3 base score is 9.1 out of 10.