CVE-2024-39908 Affecting ruby-rexml package, versions <3.3.9-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-ALPINE319-RUBYREXML-8366549
  • published 12 Nov 2024
  • disclosed 16 Jul 2024

How to fix?

Upgrade Alpine:3.19 ruby-rexml to version 3.3.9-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rexml package and not the ruby-rexml package as distributed by Alpine. See How to fix? for Alpine:3.19 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 Scores

version 3.1
Expand this section

Red Hat

4.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

SUSE

5.3 medium