CVE-2019-16255

High

Description

Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.

SeverityHigh
CVSS8.1
Exploit probability—
ProductRuby
PublishedNov 26, 2019
First seenNov 26, 2019

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang ruby2.4.0 ≤ v ≤ 2.4.7, 2.5.0 ≤ v ≤ 2.5.6, 2.6.0 ≤ v ≤ 2.6.4—
debian debian_linux8.0, 9.0—
opensuse leap15.1—
oracle graalvm19.3.0.2—

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.