Resource Exhaustion Affecting ruby:2.5/rubygem-mysql2-doc package, versions <0:0.4.10-4.module+el8.9.0+19193+435404ae


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

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 Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-RUBY-7244805
  • published11 Jun 2024
  • disclosed16 May 2024

Introduced: 16 May 2024

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

How to fix?

Upgrade RHEL:8 ruby:2.5/rubygem-mysql2-doc to version 0:0.4.10-4.module+el8.9.0+19193+435404ae or higher.
This issue was patched in RHSA-2024:4499.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:2.5/rubygem-mysql2-doc package and not the ruby:2.5/rubygem-mysql2-doc package as distributed by RHEL. See How to fix? for RHEL:8 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