CVE-2022-24790
HTTP Request Smuggling in puma
Reported by github_m · Published March 30, 2022
puma is fixed in 5.6.4 and 4.3.12 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| puma | RubyGems | 5.6.4, 4.3.12 |
| puma | puma | 5.6.4, 4.3.12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| puma | puma | < 4.3.12, >= 5.0.0, < 5.6.4 |
| RubyGems | puma | 0, 5.0.0 |
| arch | ruby-puma | 0 |
| puma | puma | 0, 5.0.0 |
| RubyGems | gitlab-puma | 0, 5.0.0 |
Timeline
- Mar 30, 2022 CVE Published
- Mar 31, 2022 EPSS Score (30 in total, the first dated here)
- Mar 31, 2022 PoC Published
- Aug 16, 2022 CVE Updated
- Mar 17, 2026 Security Advisory (5 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
- Jul 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-24790
vulnetix vdb fixes CVE-2022-24790
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24790/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- DSA-5146 vendor-advisoryx_refsource_DEBIAN
- GLSA-202208-28 vendor-advisoryx_refsource_GENTOO
- [debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update mailing-listx_refsource_MLIST
- FEDORA-2022-de968d1b6c vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-52d0032596 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-7c8b29195f vendor-advisoryx_refsource_FEDORA
- https://github.com/advisories/GHSA-h99w-9q5r-gjq9 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-24790 advisory