Live threats

All CVEs / Puma

CVE-2022-24790Puma

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Mar 30, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Puma.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems puma ≥ 5.0.0 < 5.6.4 5.6.4 gem "puma", ">= 5.6.4"
RubyGems puma < 4.3.12 4.3.12 gem "puma", ">= 4.3.12"

Per OSV / GitHub Advisories (GHSA-h99w-9q5r-gjq9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pumapuma< 4.3.12
pumapuma≥ 5.0.0 < 5.6.4
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.