Threadlinqs IntelligenceStart free

VulnerabilityCVE-2024-35221Published 2024-05-29

CVE-2024-35221 — rubygems rubygems.org

medium

As of 2026-11-30, CVE-2024-35221 is a MEDIUM-severity vulnerability in rubygems rubygems.org, CVSS v3.1 4.3, EPSS 0.8% (56.1th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2024-35221, most recently “Critical RubyGems.org Gemspec YAML Regexp Deserialization Flaw Could Have Allowed Code Execution on the Registry (GHSA-7h7w-m82c-x2xg)”.

CVSS v3.1
4.3/10 Medium
EPSS
0.8% Higher than 56.1% of scored CVEs
CISA KEV
No Not in the KEV catalog
Tracked threats
1 Campaigns referencing it
Priority
4.4/10 Threadlinqs triage score
Published
Updated 2026-11-30
CVSS v3.1 4.3 (MEDIUM) · EPSS 0.8% (higher than 56.1% of all scored CVEs) · Priority 4.4/10 · Published 2024-05-29

By · Last updated:

What is CVE-2024-35221?

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 classifies CVE-2024-35221 under weakness class CWE-400. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs low-privilege credentials, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 915 days ago.

Severity and exploitation probability

CVSS v3.1 base score
4.3 — MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS (FIRST)
0.8% probability of exploitation in the next 30 days, higher than 56.1% of all scored CVEs
CISA KEV
Not listed in the CISA Known Exploited Vulnerabilities catalog
Threadlinqs priority
4.4/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
Published
2024-05-29

Is CVE-2024-35221 being exploited?

It currently carries a trending score of 19 in the Threadlinqs vulnerability feed.

Affected products and versions

  • rubygems: rubygems.org

How to fix CVE-2024-35221

No vendor patch reference has been recorded for CVE-2024-35221 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

Threat activity tracking CVE-2024-35221

1 tracked threat in the Threadlinqs corpus references CVE-2024-35221, either in the campaign’s CVE list or as an indicator on the campaign record.

Sources

Enriched from CVE.org, NVD, FIRST EPSS. This product uses the NVD API but is not endorsed or certified by the NVD.

Vendor advisory and patch

Other references