VDB

CVE-2022-24790

CVE-2022-24790 PUBLISHED CVSS 9.1 CRITICAL

HTTP Request Smuggling in puma

Reported by github_m · Published March 30, 2022

puma is fixed in 5.6.4 and 4.3.12 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pumaRubyGems5.6.4, 4.3.12
pumapuma5.6.4, 4.3.12

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
pumapuma< 4.3.12, >= 5.0.0, < 5.6.4
RubyGemspuma0, 5.0.0
archruby-puma0
pumapuma0, 5.0.0
RubyGemsgitlab-puma0, 5.0.0

Timeline

  • Mar 30, 2022 CVE Published
  • Mar 31, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 31, 2022 PoC Published
  • Aug 16, 2022 CVE Updated
  • Mar 17, 2026 Security Advisory (5 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
  • Jul 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-24790
vulnetix vdb fixes CVE-2022-24790

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-24790/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›