Description
Hash#slice in lib/i18n/core_ext/hash.rb in the i18n gem before 0.8.0 for Ruby allows remote attackers to cause a denial of service (application crash) via a call in a situation where :some_key is present in keep_keys but not present in the hash.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-i18n | 0.7.0-3 | — |
| Debian 13 | ruby-i18n | 0.7.0-3 | — |
| Debian 12 | ruby-i18n | 0.7.0-3 | — |
| Debian 8 | ruby-i18n | 0.6.9-2+deb8u1 | DLA-1584-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ruby-i18n | No fix yet | — |
| Ubuntu 16.04 LTS | ruby-i18n | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | ruby-i18n | 0.6.9-2+deb8u1build0.14.04.1~esm1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | i18n | < 0.8.0 | 0.8.0 | GHSA-34hf-g744-jw64 |
Advisories 1
- DLA-1584-1 ruby-i18n - security update Debian Security (DSA / DLA) · Mar 9, 2026