Puma
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-400
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
puma puma
- >= 5.5.0, < 7.2.1
- >= 8.0.0, < 8.0.2
Fixed in 7.2.1, 8.0.2
Mitigation
Upgrade puma to 7.2.1 or 8.0.2 or later.
References
- Vendor advisory github.com/puma/puma/security/advisories/GHSA-…
- Patch github.com/puma/puma/commit/439c6136d9c2275721…
- Patch github.com/puma/puma/commit/ebe9db3929ab8299d1…
2 more
- Release notes github.com/puma/puma/releases/tag/v7.2.1
- Release notes github.com/puma/puma/releases/tag/v8.0.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.