CVE-2024-35221CWE-400

Denial of service when publishing a package on rubygems.org

Medium · published May 29, 2024

CVSS v3.1
4.3
EPSS
0%
Percentile
41.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00494 · 41.5th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2024-05-29T20:18Z
EPSS history
Timeline
  • 29 MAY 20:18Z
    Denial of service when publishing a package on rubygems.org
    cvelistv5