CVE-2024-35221 in Billion products
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 g...
Affects 0 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-35221 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-194521-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| Published | 2024-05-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-492 Regular Expression Exponential Blowup via CWE-400
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Rubygems.org allows a Gem publisher to cause a Remote Denial of Service (DoS) attack by exploiting YAML aliases in the gem's metadata, leading to excessive resource consumption.
The attack is executed by crafting a malicious gem with a specially designed YAML manifest that includes YAML aliases. When Rubygems.org processes this manifest using Gem::Specification.from_yaml, which utilizes SafeYAML.load, it can lead to a YAML-bomb scenario, causing the server to consume excessive CPU and memory resources.
Questions
What is CVE-2024-35221?
A vulnerability in Rubygems.org allows a Gem publisher to cause a Remote Denial of Service (DoS) attack by exploiting YAML aliases in the gem's metadata, leading to excessive resource consumption.
What is the CVSS score for CVE-2024-35221?
CVE-2024-35221 has CVSS 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.9%.
Is CVE-2024-35221 actively exploited?
No confirmed active exploitation of CVE-2024-35221 as of 2026-09-25.
How do I remediate CVE-2024-35221?
Priority: HIGH. Advisory: https://github.com/ruby/ruby/blob/7cf74a2ff28b1b4c26e367d0d67521f7e1fed239/lib/rubygems/safe_yaml.rb#L28
What systems are affected by CVE-2024-35221?
CVE-2024-35221 affects Billion; Github; Rubygems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Billion","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.