Your submission was sent successfully! Close

CVE-2019-16255

Published: 20 November 2019

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.

From the Ubuntu security team

It was discovered that JRuby did not properly sanitize input to Shell#[] and its alias Shell#test. An attacker could use this vulnerability to execute arbitrary commands.

Priority

Medium

CVSS 3 base score: 8.1

Status

Package Release Status
jruby
Launchpad, Ubuntu, Debian
bionic Needs triage

disco Ignored
(reached end-of-life)
eoan Ignored
(reached end-of-life)
focal Needs triage

groovy Ignored
(reached end-of-life)
hirsute Ignored
(reached end-of-life)
impish Needs triage

precise Does not exist

trusty Needed

upstream Needs triage

xenial Ignored
(end of standard support, was needs-triage)
ruby2.3
Launchpad, Ubuntu, Debian
bionic Does not exist

disco Does not exist

eoan Does not exist

focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

precise Does not exist

trusty Does not exist

upstream Needs triage

xenial
Released (2.3.1-2~ubuntu16.04.14)
ruby2.5
Launchpad, Ubuntu, Debian
bionic
Released (2.5.1-1ubuntu1.6)
disco
Released (2.5.5-1ubuntu1.1)
eoan
Released (2.5.5-4ubuntu2.1)
focal Does not exist

groovy Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

precise Does not exist

trusty Does not exist

upstream
Released (2.5.7-1)
xenial Does not exist