CVE-2022-24790

high
Published 2022-03-30 ยท Modified 2024-02-16
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.0

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
arch archfixed5.6.4-1
suse slesaffected
debian debianbookwormfixed5.6.4-1
debian debianbullseyefixed4.3.8-1+deb11u2
debian debianforkyfixed5.6.4-1
debian debiansidfixed5.6.4-1
debian debiantrixiefixed5.6.4-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemspuma<~> 4.3.12~> 4.3.12
ruby RubyGemspuma>=5.0.0,<5.6.45.6.4
ruby RubyGemspuma<4.3.124.3.12

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.