CVE-2019-16255
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
CVE, MITRE
Third Party Advisory
https://hackerone.com/reports/327512
CVE, MITRE
Exploit
Patch
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
CVE, MITRE
Mailing List
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
CVE, MITRE
Mailing List
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
CVE, MITRE
Mailing List
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
CVE, MITRE
https://seclists.org/bugtraq/2019/Dec/31
CVE, MITRE
Broken Link
Mailing List
Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/32
CVE, MITRE
Broken Link
Mailing List
Third Party Advisory
https://security.gentoo.org/glsa/202003-06
CVE, MITRE
Third Party Advisory
https://www.debian.org/security/2019/dsa-4587
CVE, MITRE
Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2020.html
CVE, MITRE
Patch
Third Party Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/
CVE, MITRE
Vendor Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/
CVE, MITRE
Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/
CVE, MITRE
Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/
CVE, MITRE
Release Notes
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-94
Improper Control of Generation of Code ('Code Injection')
NIST
Change History
14 change records found show changes
CVE Modified by CVE 11/20/2024 11:30:24 PM
Action
Type
Old Value
New Value
Added
Reference
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
Added
Reference
https://hackerone.com/reports/327512
Added
Reference
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
Added
Reference
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
Added
Reference
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
Added
Reference
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
Added
Reference
https://seclists.org/bugtraq/2019/Dec/31
Added
Reference
https://seclists.org/bugtraq/2019/Dec/32
Added
Reference
https://security.gentoo.org/glsa/202003-06
Added
Reference
https://www.debian.org/security/2019/dsa-4587
Added
Reference
https://www.oracle.com/security-alerts/cpujan2020.html
Added
Reference
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/
Added
Reference
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/
Added
Reference
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/
Added
Reference
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/
CVE Modified by MITRE 5/14/2024 1:46:07 AM
Action
Type
Old Value
New Value
CVE Modified by MITRE 4/30/2023 7:15:44 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html [No Types Assigned]
Modified Analysis by NIST 3/03/2023 9:32:21 AM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Changed
Reference Type
https://hackerone.com/reports/327512 Patch, Third Party Advisory
https://hackerone.com/reports/327512 Exploit, Patch, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html Mailing List, Third Party Advisory
Changed
Reference Type
https://seclists.org/bugtraq/2019/Dec/31 Mailing List, Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/31 Broken Link, Mailing List, Third Party Advisory
Changed
Reference Type
https://seclists.org/bugtraq/2019/Dec/32 Mailing List, Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/32 Broken Link, Mailing List, Third Party Advisory
Changed
Reference Type
https://www.oracle.com/security-alerts/cpujan2020.html Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2020.html Patch, Third Party Advisory
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ Vendor Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ Release Notes
Changed
Reference Type
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-5-7-released/ Release Notes
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Vendor Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Release Notes
CWE Remap by NIST 8/24/2020 1:37:01 PM
Action
Type
Old Value
New Value
Changed
CWE
CWE-74
CWE-94
CVE Modified by MITRE 8/16/2020 11:15:13 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html [No Types Assigned]
Modified Analysis by NIST 7/17/2020 4:10:13 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Removed
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Removed
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Changed
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Changed
Reference Type
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html No Types Assigned
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Third Party Advisory
Changed
Reference Type
https://seclists.org/bugtraq/2019/Dec/31 No Types Assigned
https://seclists.org/bugtraq/2019/Dec/31 Mailing List, Third Party Advisory
Changed
Reference Type
https://seclists.org/bugtraq/2019/Dec/32 No Types Assigned
https://seclists.org/bugtraq/2019/Dec/32 Mailing List, Third Party Advisory
Changed
Reference Type
https://security.gentoo.org/glsa/202003-06 No Types Assigned
https://security.gentoo.org/glsa/202003-06 Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2019/dsa-4587 No Types Assigned
https://www.debian.org/security/2019/dsa-4587 Third Party Advisory
Changed
Reference Type
https://www.oracle.com/security-alerts/cpujan2020.html No Types Assigned
https://www.oracle.com/security-alerts/cpujan2020.html Third Party Advisory
CVE Modified by MITRE 3/28/2020 9:15:12 PM
Action
Type
Old Value
New Value
Added
Reference
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html [No Types Assigned]
CVE Modified by MITRE 3/13/2020 12:15:14 AM
Action
Type
Old Value
New Value
Added
Reference
https://security.gentoo.org/glsa/202003-06 [No Types Assigned]
CVE Modified by MITRE 1/15/2020 3:15:22 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.oracle.com/security-alerts/cpujan2020.html [No Types Assigned]
CVE Modified by MITRE 12/17/2019 10:15:14 AM
Action
Type
Old Value
New Value
Added
Reference
https://www.debian.org/security/2019/dsa-4587 [No Types Assigned]
CVE Modified by MITRE 12/17/2019 7:15:12 AM
Action
Type
Old Value
New Value
Added
Reference
https://seclists.org/bugtraq/2019/Dec/31 [No Types Assigned]
Added
Reference
https://seclists.org/bugtraq/2019/Dec/32 [No Types Assigned]
CVE Modified by MITRE 12/10/2019 10:15:12 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html [No Types Assigned]
Initial Analysis by NIST 12/09/2019 9:34:45 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added
CWE
NIST CWE-74
Added
CPE Configuration
OR
*cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (including) 2.4.7
*cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (including) 2.5.6
*cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.6.0 up to (including) 2.6.4
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Changed
Reference Type
https://hackerone.com/reports/327512 No Types Assigned
https://hackerone.com/reports/327512 Patch, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html Mailing List, Third Party Advisory
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/ No Types Assigned
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/ Vendor Advisory
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ No Types Assigned
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ Vendor Advisory
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ No Types Assigned
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ Vendor Advisory
Changed
Reference Type
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ No Types Assigned
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Vendor Advisory
Quick Info
CVE Dictionary Entry: CVE-2019-16255 NVD
Published Date: 11/26/2019 NVD
Last Modified: 11/20/2024
Source: MITRE