CVE-2022-24790

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.

Severity
CRITICAL
CVSS v3
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N · source cna
Exploit chance (EPSS)
2.191%
chance of exploitation in the next 30 days
higher than 82.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impacttotal
Scored2025-04-23

Timeline

  1. 2022-03-30Published by the CNA21:50 UTC
  2. 2022-03-30GitHub advisory published (GHSA-h99w-9q5r-gjq9)same day
  3. 2025-04-23CISA SSVC decision recorded1120 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-h99w-9q5r-gjq9, affected packages:

PackageVulnerable versionsFixed in
RubyGems pumabefore 4.3.124.3.12
RubyGems pumafrom 5.0.0 before 5.6.45.6.4

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
puma pumabefore 4.3.12fixed in 4.3.12from 5.0.0 before 5.6.4fixed in 5.6.44.3.125.6.4
debian debian_linux10.0no fix listed11.0no fix listednot listednot listed
fedoraproject fedora35no fix listed36no fix listed37no fix listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources