CVE Vulnerabilities

CVE-2025-24294

Uncontrolled Resource Consumption

Published: Jul 12, 2025 | Modified: Jul 16, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.

An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.

This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 10RedHatruby-0:3.3.10-11.el10_1*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatruby-0:3.3.10-11.el10_0*
Red Hat Enterprise Linux 8RedHatruby:3.3-8100020251124151715.489197e6*
Red Hat Enterprise Linux 9RedHatruby:3.3-9070020251113101221.9*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatruby:3.3-9060020251210162455.9*
JrubyUbuntuplucky*
Ruby2.5Ubuntuesm-infra/bionic*
Ruby2.7Ubuntuesm-infra/focal*
Ruby3.0Ubuntujammy*
Ruby3.2Ubuntunoble*
Ruby3.2Ubuntuupstream*
Ruby3.3Ubuntudevel*
Ruby3.3Ubuntuplucky*
Ruby3.3Ubuntuquesting*
Ruby3.3Ubuntuupstream*
RubygemsUbuntudevel*
RubygemsUbuntuplucky*
RubygemsUbuntuquesting*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References