Lucene search

K
cveGitHub_MCVE-2024-35221
HistoryMay 29, 2024 - 9:15 p.m.

CVE-2024-35221

2024-05-2921:15:49
CWE-400
GitHub_M
web.nvd.nist.gov
37
rubygems.org
gem hosting service
remote dos
yaml aliases
safeyaml load
cve-2024-35221
ghsl-2024-001
github security lab

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

AI Score

6.8

Confidence

High

EPSS

0

Percentile

15.5%

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 configurations

Vulners
Node
rubygemsrubygems.orgRange<2024-04-12
VendorProductVersionCPE
rubygemsrubygems.org*cpe:2.3:a:rubygems:rubygems.org:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "rubygems",
    "product": "rubygems.org",
    "versions": [
      {
        "version": "< 2024-04-12",
        "status": "affected"
      }
    ]
  }
]

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

AI Score

6.8

Confidence

High

EPSS

0

Percentile

15.5%