CVE-2022-24790: HTTP Request Smuggling in puma
A HTTP request smuggling flaw was found in puma. This issue occurs when using puma behind a proxy. Puma does not validate incoming HTTP requests, as per RFC specification, leading to loss of integrity.
Other sources
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.
— Ubuntu
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2022-24790?
CVE-2022-24790 is a HTTP request smuggling flaw found in Puma, a multi-threaded HTTP server for Ruby/Rack applications.
How severe is CVE-2022-24790?
CVE-2022-24790 has a severity rating of 7.5 (Critical).
What is the affected software?
The affected software includes Puma versions up to and including 5.6.4 and Rubygem Puma up to and including version 4.3.12.
How can I fix CVE-2022-24790?
To fix CVE-2022-24790, update to Puma version 5.6.5 or higher, or Rubygem Puma version 4.3.13 or higher.
Where can I find more information about CVE-2022-24790?
More information about CVE-2022-24790 can be found at the following references: [GitHub Commit](https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5), [GitHub Security Advisory](https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2071623).