CVE-2024-39908 Affecting rubygem-rexml package, versions <0:3.3.6-3.module+el9.4.0+25730+e54ecc95


Severity

Recommended
medium

Based on Rocky Linux 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-ROCKY9-RUBYGEMREXML-8133020
  • published1 Oct 2024
  • disclosed16 Jul 2024

Introduced: 16 Jul 2024

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

How to fix?

Upgrade Rocky-Linux:9 rubygem-rexml to version 0:3.3.6-3.module+el9.4.0+25730+e54ecc95 or higher.
This issue was patched in RLSA-2024:6785.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-rexml package and not the rubygem-rexml package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as &lt;, 0 and %&gt;. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.

CVSS Base Scores

version 3.1