Vulnerability GHSA-qpgp-93vx-g8v8

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
5 months ago
June 08, 2026 at 11:55 PM UTC
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
5.5.0 - 5.6.2 and 5.6.4 - 6.6.1 and 7.0.0.pre1 and 7.0.0 - 8.0.1
5.5.0 - 5.6.2 and 5.6.4 - 6.6.1 and 7.0.0.pre1 and 7.0.0 - 8.0.1

Summary

Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion

Details

Impact

PROXY protocol support for Puma was added in version 5.5.0.

When PROXY protocol v1 support is enabled, Puma reads incoming bytes into an internal buffer. It waits for "\r\n" to determine whether a PROXY v1 line is present. If an attacker opens a TCP connection and continuously sends bytes without CRLF, Puma keeps appending to this pre-parse buffer.

This can cause unbounded in-process memory growth and additional CPU cost from repeatedly scanning the growing buffer for CRLF. A single, unauthenticated TCP connection can drive significant memory growth and may cause process/container OOM or degraded availability.

Only Puma servers using the following non-default config are affected:

   set_remote_address proxy_protocol: :v1

Patches

Users should upgrade to versions 7.2.1 or 8.0.2.

Workarounds

  • Disable PROXY protocol v1 parsing if it is not required:
  # remove/comment this:
  # set_remote_address proxy_protocol: :v1
  • Restrict direct network access to Puma listeners using PROXY protocol:
    • Only allow trusted load balancers/reverse proxies to connect.
    • Block arbitrary client TCP access with firewall/security group rules.

Resources

Related Vulnerabilities

Other vulnerabilities affecting the same packages

High Risk
5 months ago
Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections
5.5.0 - 5.6.2 and 5.6.4 - 6.6.1 and 7.0.0.pre1 and 7.0.0 - 8.0.1 GHSA-2vqw-3mp8-cgmx
5.5.0 - 5.6.2 and 5.6.4 - 6.6.1 and 7.0.0.pre1 and 7.0.0 - 8.0.1 GHSA-2vqw-3mp8-cgmx
Medium Risk
2 years ago
Puma's header normalization allows for client to clobber proxy set headers
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.4.2 GHSA-9hf4-67fc-4vf4
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.4.2 GHSA-9hf4-67fc-4vf4
Medium Risk
2 years ago
Puma HTTP Request/Response Smuggling vulnerability
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.4.1 GHSA-c2f4-cvqm-65w2
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.4.1 GHSA-c2f4-cvqm-65w2
Critical
3 years ago
Puma HTTP Request/Response Smuggling vulnerability
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.3.0 GHSA-68xg-gqqm-vgj8
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 4.3.12 and 5.0.0.beta1 and 5.0.0.beta2 and 5.0.0 - 5.6.2 and 5.6.4 - 6.3.0 GHSA-68xg-gqqm-vgj8
Critical
4 years ago
Puma vulnerable to HTTP Request Smuggling
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 5.6.2 GHSA-h99w-9q5r-gjq9
0.8.0 - 1.6.3 and 2.0.0.b1 and 2.0.0.b2 and 2.0.0.b3 and 2.0.0.b4 and 2.0.0.b5 and 2.0.0.b6 and 2.0.0.b7 and 2.0.0 - 2.16.0 and 3.0.0.rc1 and 3.0.0 - 3.12.2 and 3.12.4 - 4.3.1 and 4.3.3 - 5.6.2 GHSA-h99w-9q5r-gjq9
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
5 months ago
June 08, 2026 at 11:55 PM UTC
Fixed (8.0.2)
5 months ago
May 26, 2026 at 11:27 PM UTC
Fixed (7.2.1)
5 months ago
May 27, 2026 at 12:17 AM UTC
Last Modified
6 days ago
November 02, 2026 at 10:15 PM UTC