CVE-2019-8324

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductRubygems
PublishedJun 17, 2019
First seenJun 17, 2019

How to fix

Affected products

ProductAffected versionsFixed in
rubygems rubygems2.6.0 ≤ v ≤ 3.0.2—
debian debian_linux9.0—
opensuse leap15.0, 15.1—
redhat enterprise_linux8.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.