CVE-2019-8324
HIGHRubyGems 2.6.0-3.0.2 - Remote Code Execution via Multi-Line Gem Name Injection
Title source: llmDescription
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.
References (4)
Core 4
Core References
Permissions Required, Third Party Advisory x_refsource_misc
https://hackerone.com/reports/328571
Mailing List, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:1972
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
Scores
CVSS v3
8.8
EPSS
0.0050
EPSS Percentile
66.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-94
Status
published
Products (6)
debian/debian_linux
9.0
opensuse/leap
15.0
opensuse/leap
15.1
redhat/enterprise_linux
8.0
rubygems/rubygems
2.6.0 - 3.0.2
rubygems/rubygems-update
2.6.0 - 2.7.9RubyGems
Published
Jun 17, 2019
Tracked Since
Feb 18, 2026