CVE-2024-43398 Affecting ruby:3.3/rubygems-devel package, versions <0:3.5.16-3.module_el9.4.0+115+226a984b


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-ALMALINUX9-RUBY-8066312
  • published20 Sept 2024
  • disclosed18 Sept 2024

Introduced: 18 Sep 2024

CVE-2024-43398  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 ruby:3.3/rubygems-devel to version 0:3.5.16-3.module_el9.4.0+115+226a984b or higher.
This issue was patched in ALSA-2024:6785.

NVD Description

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

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

CVSS Scores

version 3.1