CVE-2024-35176 Affecting ruby3.2-rexml package, versions <3.2.8-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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-WOLFILATEST-RUBY32REXML-6861570
  • published17 May 2024
  • disclosed16 May 2024

Introduced: 16 May 2024

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

How to fix?

Upgrade Wolfi ruby3.2-rexml to version 3.2.8-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.2.6 has a denial of service vulnerability when it parses an XML that has many &lt;s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

CVSS Scores

version 3.1