Resource Exhaustion Affecting ruby3.4-rack-2.2 package, versions <2.2.25-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-RUBY34RACK22-22528007
  • published14 Nov 2026
  • disclosed9 Nov 2026

Introduced: 9 Nov 2026

NewCVE-2026-125111  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Wolfi ruby3.4-rack-2.2 to version 2.2.25-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-rack-2.2 package and not the ruby3.4-rack-2.2 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.