CVE-2024-43398 Affecting ruby3.2-rexml package, versions <3.3.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available

    Threat Intelligence

    EPSS
    0.04% (10th 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-WOLFILATEST-RUBY32REXML-7830311
  • published 24 Aug 2024
  • disclosed 22 Aug 2024

How to fix?

Upgrade Wolfi ruby3.2-rexml to version 3.3.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.2-rexml package and not the ruby3.2-rexml package as distributed by Wolfi. See How to fix? for Wolfi 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
Expand this section

Red Hat

5.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High