CVEfocus › CVE database › CVE-2021-41136

CVE-2021-41136Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') in puma

CVSS 3.7 LowEPSS 1.2% (higher than 68% of CVEs)Published 2021-10-12Updated 2025-05-27Assigner: GitHub_M

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`.

CWE-444

What to do

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

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

5Fixed

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
Debian 14pumaFixed5.5.2-1DEBIAN-CVE-2021-41136
Debian 13pumaFixed5.5.2-1DEBIAN-CVE-2021-41136
Debian 12pumaFixed5.5.2-1DEBIAN-CVE-2021-41136
Rocky Linux 8libdbFixed0:5.3.28-42.el8_4RLSA-2022:5498
RubyGems librarypumaFixed4.3.9GHSA-48w2-rm65-62xx

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.

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.