4.3

CVE-2024-35221: Denial of service when publishing a package on rubygems.org

Deferred
AliasesSUSE-SU-2025:02814-1SUSE-SU-2025:02814-2
Published 29-05-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-35221 is a medium (CVSS 4.3) Uncontrolled Resource Consumption vulnerability in rubygems rubygems.org. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.

Overall risk
17/100
0100
Low · default modelHow is this calculated?
CVSS score
4.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 29-05-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

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 metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse15 products
  • ruby2.5&distro=SUSE Enterprise Storage 7.1< 2.5.9-150000.4.49.1
  • ruby2.5&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 2.5.9-150000.4.49.1
  • ruby2.5&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.5.9-150000.4.49.1
  • ruby2.5&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.5.9-150000.4.49.1
  • ruby2.5&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 2.5.9-150000.4.49.1
Opensuse1 product
  • ruby2.5&distro=openSUSE Leap 15.6< 2.5.9-150000.4.49.1
Rubygems1 product

3 vendors · 17 products

References

7 links