U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-35221

Change History

New CVE Received from GitHub, Inc. 5/29/2024 5:15:49 PM

Action Type Old Value New Value
Added 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.
Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Added CWE

								
							
							
						
GitHub, Inc. CWE-400
Added Reference

								
							
							
						
GitHub, Inc. https://en.wikipedia.org/wiki/Billion_laughs_attack [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/ruby/ruby/blob/7cf74a2ff28b1b4c26e367d0d67521f7e1fed239/lib/rubygems/safe_yaml.rb#L28 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/rubygems/rubygems.org/security/advisories/GHSA-4vc5-whwr-7hh2 [No types assigned]