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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rubygems | rubygems.org | < 2024-04-12 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ruby2.5 | 2.5.9-150700.24.3.1 | SUSE-SU-2025:4264-1 |
| SLES 15 SP6 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-1 |
| SLES 15 SP5 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLES 15 SP4 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLES 15 SP3 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLES for SAP 15 SP4 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLES for SAP 15 SP3 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLE HPC 15 SP5 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLE HPC 15 SP4 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SLE HPC 15 SP3 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SUSE Manager Server LTS 4.3 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SUSE Manager Proxy LTS 4.3 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
| SUSE Enterprise Storage 7.1 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-2 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | ruby2.5 | 2.5.9-150000.4.49.1 | SUSE-SU-2025:02814-1 |
Advisories 3
- SUSE-SU-2025:4264-1 Security update for ruby2.5 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02814-1 Security update for ruby2.5 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02814-2 Security update for ruby2.5 SUSE / openSUSE Security Updates · Mar 23, 2026