CVE-2019-8324: Code Injection

Published Mar 5, 2019
·
Updated

A flaw was found in RubyGems. A crafted gem with a multi-line name is not handled correctly allowing an attacker to inject arbitrary code to the stub line of gemspec. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

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 ensureloadablespec during the preinstall check.

Affected Software

19 affected componentsFixes available
rubygems/rubygems-update>=3.0.0<3.0.2
3.0.2
rubygems/rubygems-update>=2.6.0<2.7.9
2.7.9
redhat/cfme<0:5.10.5.1-1.el7cf
0:5.10.5.1-1.el7cf
redhat/cfme-amazon-smartstate<0:5.10.5.1-1.el7cf
0:5.10.5.1-1.el7cf
redhat/cfme-appliance<0:5.10.5.1-1.el7cf
0:5.10.5.1-1.el7cf
redhat/cfme-gemset<0:5.10.5.1-1.el7cf
0:5.10.5.1-1.el7cf
redhat/ruby<0:2.4.6-91.el7cf
0:2.4.6-91.el7cf
redhat/ruby<0:2.0.0.648-35.el7_6
0:2.0.0.648-35.el7_6
redhat/ruby<0:2.0.0.648-37.el7_4
0:2.0.0.648-37.el7_4
redhat/rh-ruby24-ruby<0:2.4.6-92.el6
0:2.4.6-92.el6
redhat/rh-ruby23-ruby<0:2.3.8-70.el6
0:2.3.8-70.el6
redhat/rh-ruby25-ruby<0:2.5.5-7.el7
0:2.5.5-7.el7
redhat/rh-ruby24-ruby<0:2.4.6-92.el7
0:2.4.6-92.el7
redhat/rh-ruby23-ruby<0:2.3.8-70.el7
0:2.3.8-70.el7
Rubygems RubyGems>=2.6.0<=3.0.2
Debian Debian Linux=9.0
openSUSE Leap=15.0
openSUSE Leap=15.1
redhat Enterprise Linux=8.0

Event History

Mar 5, 2019
CVE Published
12:00 AM
Mar 25, 2019
Data Sourced
via Red Hat·07:05 PM
DescriptionSeverityAffected Software
Jun 17, 2019
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
Description
Jun 20, 2019
Advisory Published
04:06 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2019-8324?

CVE-2019-8324 is a vulnerability in RubyGems that allows an attacker to inject arbitrary code.

2

How does CVE-2019-8324 impact RubyGems?

CVE-2019-8324 impacts RubyGems by allowing an attacker to inject arbitrary code into a gem with a multi-line name.

3

What is the severity of CVE-2019-8324?

CVE-2019-8324 has a severity rating of 8.8, which is considered high.

4

Which versions of RubyGems are affected by CVE-2019-8324?

RubyGems versions 2.6 and later through 3.0.2 are affected by CVE-2019-8324.

5

Where can I find more information about CVE-2019-8324?

You can find more information about CVE-2019-8324 at the following references: [link1] [link2] [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203