Description
Puma is a Ruby/Rack web server built for parallelism. From 5.5.0 until 7.2.1 and 8.0.2, when PROXY protocol v1 support is enabled, Puma reads incoming bytes into an internal buffer while waiting for CRLF to determine whether a PROXY v1 line is present, allowing an attacker that continuously sends bytes without CRLF to cause unbounded in-process memory growth and additional CPU cost from repeatedly scanning the growing buffer. This issue is fixed in versions 7.2.1 and 8.0.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| puma | puma | >= 5.5.0, < 7.2.1, >= 8.0.0, < 8.0.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | puma | 8.0.2-1 | — |
| Debian 13 | puma | No fix yet | — |
| Debian 12 | puma | 5.6.5-3+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | puma | No fix yet | — |
| Ubuntu 26.04 LTS | puma | No fix yet | — |
| Ubuntu 24.04 LTS | puma | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | puma | No fix yet | — |
| Ubuntu Pro 20.04 LTS | puma | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | logstash-9.3 +1 | 9.3.7-r0 | — |
| Wolfi rolling | logstash-9.4 +1 | 9.4.4-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | puma | >= 8.0.0, < 8.0.2 | 8.0.2 | GHSA-qpgp-93vx-g8v8 |
| RubyGems | puma | >= 5.5.0, < 7.2.1 | 7.2.1 | GHSA-qpgp-93vx-g8v8 |
References
- https://github.com/puma/puma/security/advisories/GHSA-qpgp-93vx-g8v8
- https://github.com/puma/puma/commit/439c6136d9c2275721b7864db3ee78af7c80889f
- https://github.com/puma/puma/commit/ebe9db3929ab8299d19c8f5b41e8ef4f4b22fa58
- https://github.com/puma/puma/releases/tag/v7.2.1
- https://github.com/puma/puma/releases/tag/v8.0.2