cbcvebase.
CVE-2019-16255
published 2019-11-26

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…

PriorityP352high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
4.22%
89.7th percentile
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.

Affected

14 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debianjruby< jruby 9.3.9.0+ds-1 (bookworm)jruby 9.3.9.0+ds-1 (bookworm)
jrubyjruby>= 0 < 9.3.9.0+ds-19.3.9.0+ds-1
jrubyjruby>= 0 < 9.3.9.0+ds-19.3.9.0+ds-1
jrubyjruby>= 0 < 9.3.9.0+ds-19.3.9.0+ds-1
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_ruby_2.6.7-1_on_cbl_mariner_1.0
opensuseleap
oraclegraalvm
ruby-langruby2.4.0 – 2.4.7
ruby-langruby2.5.0 – 2.5.6
ruby-langruby2.6.0 – 2.6.4

CVSS provenance

nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.1HIGH
vendor_debian8.1HIGH
vendor_msrc8.1HIGH
vendor_redhat8.1HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.