CVE-2019-16255

Name
CVE-2019-16255
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Vendor Advisory https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/
Vendor Advisory https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/
Patch https://hackerone.com/reports/327512
Vendor Advisory https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/
Vendor Advisory https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/
Mailing List https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
Third Party Advisory https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
Mailing List https://seclists.org/bugtraq/2019/Dec/32
Mailing List https://seclists.org/bugtraq/2019/Dec/31
Third Party Advisory https://www.debian.org/security/2019/dsa-4587
Third Party Advisory https://www.oracle.com/security-alerts/cpujan2020.html
Third Party Advisory https://security.gentoo.org/glsa/202003-06
Third Party Advisory http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
MLIST https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 2.4.0 <= 2.4.7
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 2.5.0 <= 2.5.6
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 2.6.0 <= 2.6.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status