Skip to main content
CVE-2025-61770VulnerabilityPublished Updated

Ruby rack:

Affects ruby-rackSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 2.1.4-5ubuntu1.2 : patch ruby-rack soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.4-5ubuntu1.2, 2.2.7-1ubuntu0.5, 3.1.16-0.1ubuntu0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu ruby-rack to 2.1.4-5ubuntu1.2 (package) or 2.2.7-1ubuntu0.5 (package) or 3.1.16-0.1ubuntu0.1 (package).

Affected software

ProductAffectedFixed in
Ubuntu 25.10ruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=questingOther threatsAffected
  • <3.1.16-0.1ubuntu0.1
Fixed in
  • 3.1.16-0.1ubuntu0.1
Ubuntu 24.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=nobleOther threatsAffected
  • <2.2.7-1ubuntu0.5
Fixed in
  • 2.2.7-1ubuntu0.5
Ubuntu 22.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=jammyOther threatsAffected
  • <2.1.4-5ubuntu1.2
Fixed in
  • 2.1.4-5ubuntu1.2
Ubuntu Pro 20.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/focalOther threatsAffected
  • 2.0.6-3 – 2.0.7-2ubuntu0.1+esm10
13 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.6.4-4 – 1.6.4-4ubuntu0.2+esm10
12 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/xenialOther threatsAffected
  • 1.5.2-4 – 1.6.4-3ubuntu0.2+esm10
14 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, `Rack::Multipart::Parser` buffers the entire multipart preamble (bytes before the first boundary) in memory without any size limit. A client can send a large preamble followed by a valid boundary, causing significant memory use and potential process termination due to out-of-memory (OOM) conditions. Remote attackers can trigger large transient memory spikes by including a long preamble in multipart/form-data requests. The impact scales with allowed request sizes and concurrency, potentially causing worker crashes or severe slowdown due to garbage collection. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a preamble size limit (e.g., 16 KiB) or discard preamble data entirely. Workarounds include limiting total request body size at the proxy or web server level and monitoring memory and set per-process limits to prevent OOM conditions.

References

Community reviews

Loading reviews…