CVE-2024-35221 Affecting libruby2_5-2_5 package, versions <2.5.9-150000.4.49.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (16th 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-SLES154-LIBRUBY2525-12496988
  • published5 Sept 2025
  • disclosed4 Sept 2025

Introduced: 4 Sep 2025

NewCVE-2024-35221  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 libruby2_5-2_5 to version 2.5.9-150000.4.49.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libruby2_5-2_5 package and not the libruby2_5-2_5 package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

Rubygems.org is the Ruby community's gem hosting service. A Gem publisher can cause a Remote DoS when publishing a Gem. This is due to how Ruby reads the Manifest of Gem files when using Gem::Specification.from_yaml. from_yaml makes use of SafeYAML.load which allows YAML aliases inside the YAML-based metadata of a gem. YAML aliases allow for Denial of Service attacks with so-called YAML-bombs (comparable to Billion laughs attacks). This was patched. There is is no action required by users. This issue is also tracked as GHSL-2024-001 and was discovered by the GitHub security lab.

CVSS Base Scores

version 3.1