Skip to main content
CVE-2021-41136VulnerabilityPublished Updated

CVE-2021-41136: puma · HTTP Request/Response Smuggling

Affects pumaSource CVE Database V5

0

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2021

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
RubyGemspumapkg:gem/pumaOther threatsAffected
  • <4.3.9
  • <5.5.1
Fixed in
  • 4.3.9
  • 5.5.1

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

Community reviews

Loading reviews…