Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Puma | Puma | < 4.3.12 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 35 |
Related Weaknesses (CWE)
References
- https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5PatchThird Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9Issue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202208-28Third Party Advisory
- https://www.debian.org/security/2022/dsa-5146Third Party Advisory
- https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5PatchThird Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9Issue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://security.gentoo.org/glsa/202208-28Third Party Advisory
FAQ
What is CVE-2022-24790?
CVE-2022-24790 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 R...
How severe is CVE-2022-24790?
CVE-2022-24790 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2022-24790?
Check the references section above for vendor advisories and patch information. Affected products include: Puma Puma, Debian Debian Linux, Fedoraproject Fedora.