GitHub Advisoryadvisory · RubyGems

GHSA-w64w-qqph-5gxm HTTP Smuggling via Transfer-Encoding Header in Puma

MEDIUM Published 2020-05-22 Modified 2023-05-16 Official page ↗
Aliases
CVE-2020-11077
Ecosystem
RubyGems
Packages
puma
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Weaknesses
CWE-444
Reviewed
2020-05-22

Affected packages

• RubyGems puma: < 3.12.6 → fixed in 3.12.6 • RubyGems puma: >= 4.0.0, < 4.3.5 → fixed in 4.3.5

Description

Impact This is a similar but different vulnerability to the one patched in 3.12.5 and 4.3.4. 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. Patches The problem has been fixed in Puma 3.12.6 and Puma 4.3.5. For more information If you have any questions or comments about this advisory: • Open an issue in Puma • See our security policy

Related

Alias · CVE (1)

  • CVE-2020-11077 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… vulnerability

Weakness · CWE (1)

  • CWE-444 Inconsistent Interpretation of HTTP Requests weakness

References