Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution (Multiple Advisories)

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
05/15/2019
Created
05/17/2019
Added
05/16/2019
Modified
12/15/2023

Description

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.

Solution(s)

  • redhat-upgrade-ruby
  • redhat-upgrade-ruby-debuginfo
  • redhat-upgrade-ruby-debugsource
  • redhat-upgrade-ruby-devel
  • redhat-upgrade-ruby-doc
  • redhat-upgrade-ruby-irb
  • redhat-upgrade-ruby-libs
  • redhat-upgrade-ruby-libs-debuginfo
  • redhat-upgrade-ruby-tcltk
  • redhat-upgrade-rubygem-abrt
  • redhat-upgrade-rubygem-abrt-doc
  • redhat-upgrade-rubygem-bigdecimal
  • redhat-upgrade-rubygem-bigdecimal-debuginfo
  • redhat-upgrade-rubygem-bson
  • redhat-upgrade-rubygem-bson-debuginfo
  • redhat-upgrade-rubygem-bson-debugsource
  • redhat-upgrade-rubygem-bson-doc
  • redhat-upgrade-rubygem-bundler
  • redhat-upgrade-rubygem-bundler-doc
  • redhat-upgrade-rubygem-did_you_mean
  • redhat-upgrade-rubygem-io-console
  • redhat-upgrade-rubygem-io-console-debuginfo
  • redhat-upgrade-rubygem-json
  • redhat-upgrade-rubygem-json-debuginfo
  • redhat-upgrade-rubygem-minitest
  • redhat-upgrade-rubygem-mongo
  • redhat-upgrade-rubygem-mongo-doc
  • redhat-upgrade-rubygem-mysql2
  • redhat-upgrade-rubygem-mysql2-debuginfo
  • redhat-upgrade-rubygem-mysql2-debugsource
  • redhat-upgrade-rubygem-mysql2-doc
  • redhat-upgrade-rubygem-net-telnet
  • redhat-upgrade-rubygem-openssl
  • redhat-upgrade-rubygem-openssl-debuginfo
  • redhat-upgrade-rubygem-pg
  • redhat-upgrade-rubygem-pg-debuginfo
  • redhat-upgrade-rubygem-pg-debugsource
  • redhat-upgrade-rubygem-pg-doc
  • redhat-upgrade-rubygem-power_assert
  • redhat-upgrade-rubygem-psych
  • redhat-upgrade-rubygem-psych-debuginfo
  • redhat-upgrade-rubygem-rake
  • redhat-upgrade-rubygem-rdoc
  • redhat-upgrade-rubygem-test-unit
  • redhat-upgrade-rubygem-xmlrpc
  • redhat-upgrade-rubygems
  • redhat-upgrade-rubygems-devel

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;