CVE-2019-8324

Impact:
Important
Public Date:
2019-03-05
CWE:
CWE-20
Bugzilla:
1692520: CVE-2019-8324 rubygems: Installing a malicious gem may lead to arbitrary code execution

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2019-8324 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 7.2
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required High
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby23-ruby) RHSA-2019:1151 2019-05-13
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby24-ruby) RHSA-2019:1150 2019-05-13
Red Hat Enterprise Linux 7 (ruby) RHSA-2019:1235 2019-05-15
Red Hat Enterprise Linux 8 (ruby:2.5) RHSA-2019:1972 2019-08-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby25-ruby) RHSA-2019:1148 2019-05-13
CloudForms Management Engine 5.10 (ruby) RHSA-2019:1429 2019-06-11
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-ruby24-ruby) RHSA-2019:1150 2019-05-13
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-ruby23-ruby) RHSA-2019:1151 2019-05-13

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-ruby26-ruby Affected
Red Hat Enterprise Linux 6 rubygems Not affected
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
Last Modified

CVE description copyright © 2017, The MITRE Corporation