RCE in Rubygems
CVE-2019-8324
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.032 (87.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000
Affected products
- Rubygems
- Debian Linux — versions 9.0
- openSUSE Leap — versions 15.0, 15.1
- Red Hat Enterprise Linux — versions 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- hackerone.com/reports/328571 (Permissions Required, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html (vendor-advisory, Mailing List, Third Party Advisory)
- access.redhat.com/errata/RHSA-2019:1972 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/08/msg00027.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-8324?
- CVE-2019-8324 is a high-severity vulnerability in Rubygems, classified under Code Injection. CVSS score: 8.8/10. Published 2019-06-17.
- How severe is CVE-2019-8324?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2019-8324 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.