CVE-2019-16255

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*

History

No history.

Information

Published : 2019-11-26 18:15

Updated : 2023-04-30 23:15


NVD link : CVE-2019-16255

Mitre link : CVE-2019-16255

CVE.ORG link : CVE-2019-16255


JSON object : View

Products Affected

debian

  • debian_linux

ruby-lang

  • ruby

oracle

  • graalvm

opensuse

  • leap
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')