Input validation error in RubyGems - CVE-2024-35221

 

Input validation error in RubyGems - CVE-2024-35221

Published: September 10, 2024


Vulnerability identifier: #VU96998
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-35221
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ruby
Affected software:
RubyGems

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when reading the Manifest of Gem files when using Gem::Specification.from_yaml. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


How to mitigate CVE-2024-35221

Install updates from vendor's website.

Sources