<?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>Wed, 30 Sep 2026 08:25:54 +0000</lastBuildDate>
    <item>
      <title>BREW-mailcatcher-CVE-2024-25126 — Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial)</title>
      <link>https://vulnerability.circl.lu/vuln/brew-mailcatcher-cve-2024-25126</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: mailcatcher&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;```ruby
module Rack
  class MediaType
    SPLIT_PATTERN = %r{\s*[;,]\s*}
```
The above regexp is subject to ReDos. 50K blank characters as a prefix to the header will take over 10s to split.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;A simple HTTP request with lots of blank characters in the content-type header:&lt;/p&gt;
&lt;p&gt;```ruby
request[&amp;#34;Content-Type&amp;#34;] = (&amp;#34; &amp;#34; * 50_000) + &amp;#34;a,&amp;#34;
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a very easy to craft ReDoS. Like all ReDoS the impact is debatable.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: mailcatcher&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;```ruby
module Rack
  class MediaType
    SPLIT_PATTERN = %r{\s*[;,]\s*}
```
The above regexp is subject to ReDos. 50K blank characters as a prefix to the header will take over 10s to split.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;A simple HTTP request with lots of blank characters in the content-type header:&lt;/p&gt;
&lt;p&gt;```ruby
request[&amp;#34;Content-Type&amp;#34;] = (&amp;#34; &amp;#34; * 50_000) + &amp;#34;a,&amp;#34;
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a very easy to craft ReDoS. Like all ReDoS the impact is debatable.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/brew-mailcatcher-cve-2024-25126</guid>
    </item>
    <item>
      <title>CVE-2024-25126 — Rack ReDos in content type parsing (2nd degree polynomial)</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-25126</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; rack, rack_project rack&lt;/p&gt;
&lt;p&gt;Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; rack, rack_project rack&lt;/p&gt;
&lt;p&gt;Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-25126</guid>
    </item>
  </channel>
</rss>
