{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-35221","published":"2024-05-29T21:15:49.017000Z","last_modified":"2026-06-17T07:34:34.257000Z","status":"Deferred","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-400"],"cpes":[],"cpes_truncated":false,"vendors":["rubygems"],"products":["rubygems/rubygems.org"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00863,"percentile":0.562,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2024-35221/","html_en":"/en/cve/CVE-2024-35221/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-35221","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-35221"},"untrusted":{"vendor_name":"rubygems","product_name":"rubygems.org","desc_en":"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.","affected":[{"untrusted_vendor":"rubygems","untrusted_product":"rubygems.org","versions":[]}],"references":[{"url":"https://en.wikipedia.org/wiki/Billion_laughs_attack","tags":[]},{"url":"https://github.com/ruby/ruby/blob/7cf74a2ff28b1b4c26e367d0d67521f7e1fed239/lib/rubygems/safe_yaml.rb#L28","tags":[]},{"url":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4vc5-whwr-7hh2","tags":[]}]}}