{"id":"CVE-2024-35221","published":"2024-05-29T20:18:06Z","modified":"2024-08-02T03:07:46Z","title":"Denial of service when publishing a package on rubygems.org","vendor":"rubygems","product":"rubygems.org","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00863,"percentile":0.56123,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4vc5-whwr-7hh2","tags":["x_refsource_CONFIRM"]},{"url":"https://en.wikipedia.org/wiki/Billion_laughs_attack","tags":["x_refsource_MISC"]},{"url":"https://github.com/ruby/ruby/blob/7cf74a2ff28b1b4c26e367d0d67521f7e1fed239/lib/rubygems/safe_yaml.rb#L28","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":11.22},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"rubygems","affectedVersions":[{"vendor":"rubygems","product":"rubygems.org","versions":["< 2024-04-12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T18:59:20.588645Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35247","exploited":false,"provenance":"source"}}