ADVISORIES

openEuler Security Advisory

OESA-2025-2655

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 gems from 3.3.3 to 3.4.1 has a DoS vulnerability when parsing XML containing multiple XML declarations. If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities. The REXML gem 3.4.2 or later include the patches to fix these vulnerabilities.(CVE-2025-58767)

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer via the use of the + operator when combining URIs. An attacker can obtain sensitive user credentials by crafting a URI that, when merged with another, results in the unintended exposure of authentication information.

Note: This vulnerability is a bypass of the fix to CVE-2025-27221.(CVE-2025-61594)

Affected packages

EcosystemPackageAffected versions
openEuler:22.03-LTS-SP3ruby
All versions before 3.0.3-144.oe2203sp3 (fixed in 3.0.3-144.oe2203sp3)
openEuler:22.03-LTS-SP4ruby
All versions before 3.0.3-144.oe2203sp4 (fixed in 3.0.3-144.oe2203sp4)
openEuler:24.03-LTSruby
All versions before 3.2.2-151.oe2403sp2 (fixed in 3.2.2-151.oe2403sp2)
openEuler:24.03-LTS-SP1ruby
All versions before 3.2.2-151.oe2403sp1 (fixed in 3.2.2-151.oe2403sp1)
openEuler:24.03-LTS-SP2ruby
All versions before 3.2.2-151.oe2403sp2 (fixed in 3.2.2-151.oe2403sp2)
openEuler:20.03-LTS-SP4ruby
All versions before 2.5.8-136.oe2003sp4 (fixed in 2.5.8-136.oe2003sp4)

References