-
-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathCVE-2026-47736.yml
More file actions
58 lines (50 loc) · 2.15 KB
/
Copy pathCVE-2026-47736.yml
File metadata and controls
58 lines (50 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
gem: puma
cve: 2026-47736
ghsa: qpgp-93vx-g8v8
url: https://www.cve.org/CVERecord?id=CVE-2026-47736
title: Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
date: 2026-05-27
description: |
## 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
## 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.
cvss_v3: 7.5
unaffected_versions:
- "< 5.5.0"
patched_versions:
- "~> 7.2.1"
- ">= 8.0.2"
related:
url:
- https://www.cve.org/CVERecord?id=CVE-2026-47736
- https://rubygems.org/gems/puma/versions/8.0.2
- https://github.com/puma/puma/releases/tag/v8.0.2
- https://github.com/puma/puma/releases/tag/v7.2.1
- https://github.com/puma/puma/blob/main/History.md#802--2026-05-27
- https://github.com/puma/puma/blob/main/History.md#721--2026-05-27
- https://github.com/puma/puma/pull/2654
- https://github.com/puma/puma/issues/2651
- https://rubyweekly.com/issues/803
- https://advisories.gitlab.com/gem/puma/CVE-2026-47736
- https://github.com/puma/puma/security/advisories/GHSA-qpgp-93vx-g8v8
notes: |
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-47736 (reserved)
- No nvd cvss values