CVE-2022-24790
CRITICAL9.1EPSS 0.42%Puma vulnerable to HTTP Request Smuggling
Published: 3/30/2022Modified: 4/28/2026
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 packages (2)
- Debian/pumafrom 0, < 4.3.8-1+deb11u2
- RubyGems/puma>= 5.0.0, < 5.6.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24790
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-24790
- PATCHhttps://github.com/puma/puma
- WEBhttps://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5
- WEBhttps://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2022-24790.yml
- WEBhttps://lists.debian.org/debian-lts-announce/2022/08/msg00015.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB
- WEBhttps://portswigger.net/web-security/request-smuggling
- WEBhttps://security.gentoo.org/glsa/202208-28
- WEBhttps://www.debian.org/security/2022/dsa-5146