Vulnerability record · OpenEuler 24.03-LTS-SP1
An update for ruby is now available for openEuler-24.03-LTS-SP1
OpenEuler 24.03-LTS-SP1
What it fixes
Synopsis:
ruby security updateSummary:
An update for ruby is now available for openEuler-24.03-LTS-SP1Description:
Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).
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.(CVE-2025-24294)
zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes ahead of previously produced output but fails to guarantee the backing Ruby string has enough capacity before the memmove shifts the existing data. This can lead to memory corruption when the buffer length exceeds capacity. This issue has been fixed in versions 3.0.1, 3.1.2 and 3.2.3.(CVE-2026-27820)Topic:
An update for ruby is now available for openEuler-24.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
CriticalAffected Component:
ruby
Manual fix · OpenEuler 24.03-LTS-SP1
sudo dnf upgrade ruby ruby-bundled-gems ruby-devel ruby-help ruby-irb rubygem-bigdecimal …rpm -q ruby ruby-bundled-gems ruby-devel ruby-help ruby-irb rubygem-bigdecimal …Sources