Vulnerabilities · 2022 · Puma
CVE-2022-24790
Puma vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Puma, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Puma runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5 · Patch
- github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/08/msg00015.html · Third Party Advisory
- security.gentoo.org/glsa/202208-28 · Third Party Advisory
- www.debian.org/security/2022/dsa-5146 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T
- nvd.nist.gov/vuln/detail/CVE-2022-24790
- cve.org/CVERecord?id=CVE-2022-24790
More vulnerabilities in Puma products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.