<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 23:45:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-34230 — Rack: Quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-34230</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; rack&lt;/p&gt;
&lt;p&gt;Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted Accept-Encoding header and cause disproportionate CPU consumption on the compression middleware path. This results in a denial of service condition for applications using Rack::Deflater. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; rack&lt;/p&gt;
&lt;p&gt;Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted Accept-Encoding header and cause disproportionate CPU consumption on the compression middleware path. This results in a denial of service condition for applications using Rack::Deflater. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-34230</guid>
    </item>
    <item>
      <title>GHSA-v569-hp3g-36wr — Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-v569-hp3g-36wr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: rack&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`Rack::Utils.select_best_encoding` processes `Accept-Encoding` values with quadratic time complexity when the header contains many wildcard (`*`) entries. Because this method is used by `Rack::Deflater` to choose a response encoding, an unauthenticated attacker can send a single request with a crafted `Accept-Encoding` header and cause disproportionate CPU consumption on the compression middleware path.&lt;/p&gt;
&lt;p&gt;This results in a denial of service condition for applications using `Rack::Deflater`.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`Rack::Utils.select_best_encoding` expands parsed `Accept-Encoding` values into a list of candidate encodings. When an entry is `*`, the method computes the set of concrete encodings by subtracting the encodings already present in the request:&lt;/p&gt;
&lt;p&gt;```ruby
if m == &amp;#34;*&amp;#34;
  (available_encodings - accept_encoding.map(&amp;amp;:first)).each do |m2|
    expanded_accept_encoding &amp;lt;&amp;lt; [m2, q, preference]
  end
else
  expanded_accept_encoding &amp;lt;&amp;lt; [m, q, preference]
end
```&lt;/p&gt;
&lt;p&gt;Because `accept_encoding.map(&amp;amp;:first)` is evaluated inside the loop, it is recomputed for each wildcard entry. If the request contains `N` wildcard entries, this produces repeated scans over the full parsed header and causes quadratic behavior.&lt;/p&gt;
&lt;p&gt;After expansion, the method also performs additional work over `expanded_accept_encoding`, including per-entry deletion, which further increases the cost for large inputs.&lt;/p&gt;
&lt;p&gt;`Rack::Deflater` invokes this method for each request when the middleware is enabled:&lt;/p&gt;
&lt;p&gt;```ruby
Utils.selec…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: rack&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`Rack::Utils.select_best_encoding` processes `Accept-Encoding` values with quadratic time complexity when the header contains many wildcard (`*`) entries. Because this method is used by `Rack::Deflater` to choose a response encoding, an unauthenticated attacker can send a single request with a crafted `Accept-Encoding` header and cause disproportionate CPU consumption on the compression middleware path.&lt;/p&gt;
&lt;p&gt;This results in a denial of service condition for applications using `Rack::Deflater`.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`Rack::Utils.select_best_encoding` expands parsed `Accept-Encoding` values into a list of candidate encodings. When an entry is `*`, the method computes the set of concrete encodings by subtracting the encodings already present in the request:&lt;/p&gt;
&lt;p&gt;```ruby
if m == &amp;#34;*&amp;#34;
  (available_encodings - accept_encoding.map(&amp;amp;:first)).each do |m2|
    expanded_accept_encoding &amp;lt;&amp;lt; [m2, q, preference]
  end
else
  expanded_accept_encoding &amp;lt;&amp;lt; [m, q, preference]
end
```&lt;/p&gt;
&lt;p&gt;Because `accept_encoding.map(&amp;amp;:first)` is evaluated inside the loop, it is recomputed for each wildcard entry. If the request contains `N` wildcard entries, this produces repeated scans over the full parsed header and causes quadratic behavior.&lt;/p&gt;
&lt;p&gt;After expansion, the method also performs additional work over `expanded_accept_encoding`, including per-entry deletion, which further increases the cost for large inputs.&lt;/p&gt;
&lt;p&gt;`Rack::Deflater` invokes this method for each request when the middleware is enabled:&lt;/p&gt;
&lt;p&gt;```ruby
Utils.selec…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-v569-hp3g-36wr</guid>
    </item>
  </channel>
</rss>
