openEuler Security Advisory
OESA-2024-1824
ruby security update
Details
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).
Security Fix(es):
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many <s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.(CVE-2024-35176)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP3 | ruby | All versions before 3.0.3-136.oe2203sp3 (fixed in 3.0.3-136.oe2203sp3) |
| openEuler:20.03-LTS-SP4 | ruby | All versions before 2.5.8-126.oe2003sp4 (fixed in 2.5.8-126.oe2003sp4) |
| openEuler:24.03-LTS | ruby | All versions before 3.2.2-142.oe2403 (fixed in 3.2.2-142.oe2403) |
| openEuler:22.03-LTS-SP4 | ruby | All versions before 3.0.3-136.oe2203sp4 (fixed in 3.0.3-136.oe2203sp4) |
| openEuler:22.03-LTS-SP1 | ruby | All versions before 3.0.3-136.oe2203sp1 (fixed in 3.0.3-136.oe2203sp1) |