CVE-2025-24294
Ruby vulnerability analysis and mitigation

Overview

A denial of service vulnerability (CVE-2025-24294) was discovered in the resolv gem bundled with Ruby, disclosed on July 8, 2025. The vulnerability affects multiple Ruby series including Ruby 3.2, 3.3, and 3.4, specifically impacting resolv versions 0.2.2 and earlier (Ruby 3.2), version 0.3.0 (Ruby 3.3), and version 0.6.1 and earlier (Ruby 3.4) (Ruby News).

Technical details

The vulnerability stems from an insufficient check on the length of a decompressed domain name within a DNS packet. The issue has been assigned CWE-400 (Uncontrolled Resource Consumption). The CVSS v3.1 base score is 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 a high-severity vulnerability with network access vector and no required privileges or user interaction (NVD).

Impact

When exploited, this vulnerability can cause the application thread to become unresponsive, resulting in a Denial of Service condition. The impact is particularly significant as it affects the DNS resolution capabilities of Ruby applications, potentially disrupting critical services (Ruby News).

Mitigation and workarounds

The recommended mitigation is to upgrade the resolv gem to the latest version. Several fixes have been implemented across different versions, as evidenced by multiple commits: v0.6.2, v0.3.1, and v0.2.3 (Debian Tracker).

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-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
GHSA-96qw-h329-v5rgHIGH7.5
  • JavaScriptJavaScript
  • shakapacker
NoYesJan 08, 2026
CVE-2026-22588MEDIUM6.5
  • RubyRuby
  • spree_api
NoYesJan 08, 2026
GHSA-g9jg-w8vm-g96vMEDIUM4.6
  • JavaScriptJavaScript
  • trix
NoYesDec 31, 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