CVE-2024-35176 Affecting ruby-3.1 package, versions <3.1.6-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available

    Threat Intelligence

    EPSS
    0.05% (17th 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-RUBY31-7851926
  • published 29 Aug 2024
  • disclosed 16 May 2024

How to fix?

Upgrade Wolfi ruby-3.1 to version 3.1.6-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-3.1 package and not the ruby-3.1 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
Expand this section

Red Hat

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

SUSE

5.3 medium