
CVE catalog
CVE-2019-8324
rubygems: CVE-2019-8324
- Severity
- High · CVSS 7.8
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.22% · Oct 25, 2026
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | jruby | sid | 10.1.2.0+ds-1 | fixed |
| Debian | jruby | forky | 10.1.2.0+ds-1 | fixed |
| Debian | jruby | trixie | 9.4.8.0+ds-3 | fixed |
| Debian | jruby | bookworm | 9.3.9.0+ds-8 | fixed |
| Debian | rubygems | sid | 4.0.22-1 | fixed |
| Debian | rubygems | forky | 4.0.22-1 | fixed |
| Debian | rubygems | trixie | 3.6.7-2 | fixed |
| Debian | rubygems | bookworm | 3.3.15-2+deb12u1 | fixed |
| Alpine | ruby | 3.6 | 2.4.6-r0 | fixed |
| Alpine | ruby | 3.7 | 2.4.6-r0 | fixed |
| Alpine | ruby | 3.8 | 2.5.5-r0 | fixed |
| Alpine | ruby | 3.9 | 2.5.5-r0 | fixed |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.3 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.5 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.6 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.7 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.8 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.10 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.11 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.12 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.13 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.14 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.5 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.6 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.8 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.9 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.10 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.11 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.13 | fixed |
| Ubuntu | jruby | pro | 1.5.6-5ubuntu1 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-6 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-7 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-9+deb8u2build0.14.04.1~esm2 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.6 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.7 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.9 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.10 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.11 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.12 | fixed |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0~preview1-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-6ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.2 | fixed |
| Ubuntu | jruby | 18.04 | 9.1.13.0-1 | vulnerable |
| Ubuntu | jruby | 18.04 | 9.1.17.0-1~18.04 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jruby | source | sid | 9.1.17.0-3 | not yet assigned | Not reported | [925987] |
| Debian | jruby | source | forky | 9.1.17.0-3 | not yet assigned | Not reported | [925987] |
| Debian | jruby | source | trixie | 9.1.17.0-3 | not yet assigned | Not reported | [925987] |
| Debian | jruby | source | bookworm | 9.1.17.0-3 | not yet assigned | Not reported | [925987] |
| Debian | rubygems | source | sid | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | forky | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | trixie | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Debian | rubygems | source | bookworm | 3.2.0~rc.1-1 | not yet assigned | Not reported | Not reported |
| Alpine | ruby | apk | 3.6 | 2.4.6-r0 | Not reported | ALPINE-CVE-2019-8324 | Not reported |
| Alpine | ruby | apk | 3.7 | 2.4.6-r0 | Not reported | ALPINE-CVE-2019-8324 | Not reported |
| Alpine | ruby | apk | 3.8 | 2.5.5-r0 | Not reported | ALPINE-CVE-2019-8324 | Not reported |
| Alpine | ruby | apk | 3.9 | 2.5.5-r0 | Not reported | ALPINE-CVE-2019-8324 | Not reported |
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.484-2ubuntu1.14 | Not reported | UBUNTU-CVE-2019-8324 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.13 | Not reported | UBUNTU-CVE-2019-8324 | Not reported |
| Ubuntu | jruby | deb | pro | 1.5.6-9+deb8u2build0.14.04.1~esm2 | Not reported | UBUNTU-CVE-2019-8324 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.12 | Not reported | UBUNTU-CVE-2019-8324 | Not reported |
| Ubuntu | ruby2.5 | deb | 18.04 | 2.5.1-1ubuntu1.2 | Not reported | UBUNTU-CVE-2019-8324 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [jruby]Fixed
Details (2)
9.3.9.0+ds-8· all · bookwormFixed · Fixed:
9.1.17.0-3dsa · jruby · debian · bookworm; dsa · jruby · debian · 12
9.3.9.0+ds-8· all · bookwormFixed · Fixed:
9.1.17.0-3dsa · jruby · debian · bookworm; dsa · jruby · debian · 12
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
[Debian 13 (Trixie)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
- [jruby]Fixed
Details (2)
9.4.8.0+ds-3· all · trixieFixed · Fixed:
9.1.17.0-3dsa · jruby · debian · 13
9.4.8.0+ds-3· all · trixieFixed · Fixed:
9.1.17.0-3dsa · jruby · debian · 13
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
3.6.7-2· all · trixieFixed · Fixed:
3.2.0~rc.1-1dsa · rubygems · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_1235.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2019-8324]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-8324]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-8324]
- [https://security-tracker.debian.org/tracker/CVE-2019-8324]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-8324.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]