CVEfocus › CVE database › CVE-2022-24790

CVE-2022-24790HTTP Request Smuggling in puma

CVSS 9.1 CriticalEPSS 1.9% (higher than 80% of CVEs)Published 2022-03-30Updated 2025-04-23Assigner: GitHub_M

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.

CWE-444

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04pumaNot affected
vulnerable_code_not_present
Ubuntu 25.10pumaNot affected
vulnerable_code_not_present
Ubuntu 24.04pumaNot affected
vulnerable_code_not_present
Ubuntu 22.04pumaFix pending5.5.2-2ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24790
Ubuntu 20.04pumaFix pending3.12.4-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24790
Debian 14pumaFixed5.6.4-1DEBIAN-CVE-2022-24790
Debian 13pumaFixed5.6.4-1DEBIAN-CVE-2022-24790
Debian 12pumaFixed5.6.4-1DEBIAN-CVE-2022-24790
RubyGems librarypumaFixed5.6.4GHSA-h99w-9q5r-gjq9

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.