Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting ruby:3.3/rubygem-power_assert package, versions <0:2.0.3-5.module+el9.4.0+23769+ab06e946


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-RUBY-14403341
  • published12 Dec 2025
  • disclosed17 Sept 2025

Introduced: 17 Sep 2025

CVE-2025-58767  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade RHEL:9 ruby:3.3/rubygem-power_assert to version 0:2.0.3-5.module+el9.4.0+23769+ab06e946 or higher.
This issue was patched in RHSA-2025:23140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:3.3/rubygem-power_assert package and not the ruby:3.3/rubygem-power_assert package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1