CVE-2025-61919
Ruby vulnerability analysis and mitigation

Overview

CVE-2025-61919 affects Rack, a modular Ruby web server interface. The vulnerability was discovered in versions prior to 2.2.20, 3.0 to 3.1.18, and 3.2 to 3.2.3, where an unbounded read in Rack::Request form parsing could lead to memory exhaustion. The issue was disclosed and patched in October 2025 (GitHub Advisory).

Technical details

The vulnerability stems from Rack::Request#POST functionality, which reads the entire request body into memory for Content-Type: application/x-www-form-urlencoded by calling rack.input.read(nil) without enforcing any length or cap. This occurs before query parameter parsing or enforcement of any params_limit. The vulnerability has been assigned a CVSS v3.1 score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility with no required privileges or user interaction (GitHub Advisory).

Impact

Attackers can exploit this vulnerability by sending large application/x-www-form-urlencoded bodies to consume process memory, potentially causing system slowdowns or termination by the operating system due to Out of Memory (OOM) conditions. The impact scales linearly with request size and concurrency, affecting system availability even when parsing limits are configured (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Rack versions 2.2.20, 3.1.18, and 3.2.3. Users should update to these patched versions which enforce form parameter limits using queryparser.bytesizelimit, preventing unbounded reads of application/x-www-form-urlencoded bodies. Additionally, it is recommended to enforce strict maximum body size at the proxy or web server layer using configurations such as Nginx clientmaxbody_size or Apache LimitRequestBody (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61919HIGH7.5
  • RubyRuby
  • pcs-snmp
NoYesOct 10, 2025
CVE-2025-61772HIGH7.5
  • RubyRuby
  • gitlab-cng-18.4
NoYesOct 07, 2025
CVE-2025-61771HIGH7.5
  • RubyRuby
  • rhel10::ruby-33
NoYesOct 07, 2025
CVE-2025-61780MEDIUM5.8
  • RubyRuby
  • ruby-rack
NoYesOct 10, 2025
CVE-2025-61921LOW2.7
  • RubyRuby
  • ruby-sinatra
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management