Uncontrolled Resource Consumption Affecting rexml package, versions <3.2.7


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Uncontrolled Resource Consumption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-REXML-6861566
  • published17 May 2024
  • disclosed16 May 2024
  • creditmprogrammer

Introduced: 16 May 2024

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

How to fix?

Upgrade rexml to version 3.2.7 or higher.

Overview

rexml is an An XML toolkit for Ruby.

Affected versions of this package are vulnerable to Uncontrolled Resource Consumption when parsing an XML that has many <s in an attribute value. An attacker can cause a denial of service by exploiting this behavior.

Workaround

This vulnerability can be mitigated by not parsing untrusted XMLs.

CVSS Scores

version 3.1