<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T13:05:30.025156+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-qpgp-93vx-g8v8</id>
    <title>GHSA-qpgp-93vx-g8v8 — Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion</title>
    <updated>2026-09-29T13:05:30.615184+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: puma</p>
<p>### Impact</p>
<p>[PROXY protocol support for Puma](https://github.com/puma/puma/issues/2651) was added in version 5.5.0.</p>
<p>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.</p>
<p>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.</p>
<p>**Only Puma servers using the following non-default config are affected:**</p>
<p>```ruby
   set_remote_address proxy_protocol: :v1
```</p>
<p>### Patches</p>
<p>Users should upgrade to versions 7.2.1 or 8.0.2.</p>
<p>### Workarounds</p>
<p>- Disable PROXY protocol v1 parsing if it is not required:</p>
<p>```ruby
   # remove/comment this:
   # set_remote_address proxy_protocol: :v1
 ```</p>
<p>- 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.</p>
<p>### Resources
- [HAProxy PROXY protocol specification](https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)
- [CWE-400: Uncontrolled Resource Consumption](https://cwe.mitre.org/data/definitions/400.html)
- [CWE-770: Allocation of Resourc…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-qpgp-93vx-g8v8"/>
  </entry>
</feed>
