CVE-2021-41136: puma · HTTP Request/Response Smuggling
Affects pumaSource CVE Database V5
Not known to be exploited · CVSS 3.7 Low : upgrade to 5.5.1 or 4.3.9 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 68% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.5.1, 4.3.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Oct 2021
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade puma to 5.5.1 or 4.3.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemspumapkg:gem/pumaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade Puma to versions 5.5.1 or 4.3.9 or later to eliminate the vulnerability. If upgrading is not immediately feasible, they should avoid using Apache Traffic Server as a proxy in front of Puma. Instead, alternative proxies that do not exhibit the problematic behavior, such as NGINX or HAProxy, should be used. Additionally, organizations should disable HTTP pipelining on clients and proxies where possible to reduce the risk of request smuggling. Implementing strict input validation and sanitization of HTTP headers to reject or encode LF characters can further mitigate the risk. Monitoring and logging HTTP traffic for anomalies in request and response patterns may help detect exploitation attempts. Finally, reviewing and tightening proxy and server configurations to prevent persistent connection reuse across different clients can reduce exposure.
Description
Puma is a HTTP 1.1 server for Ruby/Rack applications. Prior to versions 5.5.1 and 4.3.9, using `puma` with a proxy which forwards HTTP header values which contain the LF character could allow HTTP request smugggling. A client could smuggle a request through a proxy, causing the proxy to send a response back to another unknown client. The only proxy which has this behavior, as far as the Puma team is aware of, is Apache Traffic Server. If the proxy uses persistent connections and the client adds another request in via HTTP pipelining, the proxy may mistake it as the first request's body. Puma, however, would see it as two requests, and when processing the second request, send back a response that the proxy does not expect. If the proxy has reused the persistent connection to Puma to send another request for a different client, the second response from the first client will be sent to the second client. This vulnerability was patched in Puma 5.5.1 and 4.3.9. As a workaround, do not use Apache Traffic Server with `puma`.
References
- github.com/puma/puma/security/advisories/GHSA-48w2-rm65-62xx (opens in a new tab)
- github.com/puma/puma/commit/436c71807f00e07070902a03f79fd3e130eb6b18 (opens in a new tab)
- github.com/puma/puma/commit/acdc3ae571dfae0e045cf09a295280127db65c7f (opens in a new tab)
- github.com/puma/puma/commit/fb6ad8f8013ab5cdbb2f444cbfabd0b4fde71139 (opens in a new tab)
- debian.org/security/2022/dsa-5146 (opens in a new tab)
- security.gentoo.org/glsa/202208-28 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2022/08/msg00015.html (opens in a new tab)