CVE-2020-11077
HTTP Smuggling via Transfer-Encoding Header in Puma
Check your servers for CVE-2020-11077
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-11077 affects puma, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In Puma (RubyGem) before 4.3.5 and 3.12.6, a client could smuggle a request through a proxy, causing the proxy to send a response back to another unknown client. 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 is a similar but different vulnerability from CVE-2020-11076. The problem has been fixed in Puma 3.12.6 and Puma 4.3.5.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 2.88%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 87.5% of all scored CVEs. Scores of 29 Nov 2026.
Weakness
- CWE-444 Inconsistent Interpretation of HTTP Requests
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of puma and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i puma
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-11077 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-11077RHEL, Rocky, Alma, Fedora
rpm -q puma
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-11077Alpine
apk list --installed | grep -i pumaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-11077
trivy image --scanners vuln IMAGE | grep CVE-2020-11077
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://github.com/puma/puma/security/advisories/GHSA-w64w-qqph-5gxm github.com
- openSUSE-SU-2020:0990 lists.opensuse.org · vendor advisory
- openSUSE-SU-2020:1001 lists.opensuse.org · vendor advisory
- FEDORA-2020-fe354f24e8 lists.fedoraproject.org · vendor advisory
Other references
- https://github.com/puma/puma/blob/master/History.md#434435-and-31253126--2020-05-22 github.com
- [debian-lts-announce] 20201007 [SECURITY] [DLA 2398-1] puma security update lists.debian.org · mailing list
Source: the record CVE-2020-11077 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse