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.
References
Link Resource
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html Third Party Advisory
https://hackerone.com/reports/327512 Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
https://seclists.org/bugtraq/2019/Dec/31 Broken Link Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/32 Broken Link Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202003-06 Third Party Advisory
https://www.debian.org/security/2019/dsa-4587 Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2020.html Patch Third Party 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/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Release Notes
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html Third Party Advisory
https://hackerone.com/reports/327512 Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
https://seclists.org/bugtraq/2019/Dec/31 Broken Link Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/32 Broken Link Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202003-06 Third Party Advisory
https://www.debian.org/security/2019/dsa-4587 Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2020.html Patch Third Party 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/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Release Notes
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

21 Nov 2024, 04:30

Type Values Removed Values Added
References () http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html - Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html - Third Party Advisory
References () https://hackerone.com/reports/327512 - Exploit, Patch, Third Party Advisory () https://hackerone.com/reports/327512 - Exploit, Patch, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html - () https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html -
References () https://seclists.org/bugtraq/2019/Dec/31 - Broken Link, Mailing List, Third Party Advisory () https://seclists.org/bugtraq/2019/Dec/31 - Broken Link, Mailing List, Third Party Advisory
References () https://seclists.org/bugtraq/2019/Dec/32 - Broken Link, Mailing List, Third Party Advisory () https://seclists.org/bugtraq/2019/Dec/32 - Broken Link, Mailing List, Third Party Advisory
References () https://security.gentoo.org/glsa/202003-06 - Third Party Advisory () https://security.gentoo.org/glsa/202003-06 - Third Party Advisory
References () https://www.debian.org/security/2019/dsa-4587 - Third Party Advisory () https://www.debian.org/security/2019/dsa-4587 - Third Party Advisory
References () https://www.oracle.com/security-alerts/cpujan2020.html - Patch, Third Party Advisory () https://www.oracle.com/security-alerts/cpujan2020.html - Patch, Third Party Advisory
References () 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/code-injection-shell-test-cve-2019-16255/ - Vendor Advisory
References () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ - Release Notes () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ - Release Notes
References () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ - Release Notes () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ - Release Notes
References () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ - Release Notes () https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ - Release Notes

Information

Published : 2019-11-26 18:15

Updated : 2024-11-21 04:30


NVD link : CVE-2019-16255

Mitre link : CVE-2019-16255

CVE.ORG link : CVE-2019-16255


JSON object : View

Products Affected

oracle

  • graalvm

debian

  • debian_linux

opensuse

  • leap

ruby-lang

  • ruby
CWE
CWE-94

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