Uncontrolled Memory Allocation Affecting ruby3.2-rails-8.1 package, versions <8.1.3-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.61% (48th 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-RUBY32RAILS81-15793800
  • published28 Mar 2026
  • disclosed24 Mar 2026

Introduced: 24 Mar 2026

CVE-2026-33174  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade Wolfi ruby3.2-rails-8.1 to version 8.1.3-r0 or higher.

NVD Description

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

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. bytes=0-) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS Base Scores

version 3.1