Vulnerability Details : 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.
Products affected by CVE-2019-16255
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Threat overview for CVE-2019-16255
Top countries where our scanners detected CVE-2019-16255
Top open port discovered on systems with this issue
80
IPs affected by CVE-2019-16255 2,762
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2019-16255!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2019-16255
0.94%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 83 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-16255
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
NIST |
CWE ids for CVE-2019-16255
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-16255
-
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
[SECURITY] [DLA 3408-1] jruby security update
-
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/
Ruby 2.5.7 リリースRelease Notes
-
https://www.oracle.com/security-alerts/cpujan2020.html
Oracle Critical Patch Update Advisory - January 2020Patch;Third Party Advisory
-
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/
Ruby 2.6.5 リリースRelease Notes
-
https://www.debian.org/security/2019/dsa-4587
Debian -- Security Information -- DSA-4587-1 ruby2.3Third Party Advisory
-
https://hackerone.com/reports/327512
#327512 Potential command injection in `Shell#[]` and `Shell#test`Exploit;Patch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
[SECURITY] [DLA 2007-1] ruby2.1 security updateMailing List;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
[security-announce] openSUSE-SU-2020:0395-1: important: Recommended updaThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
[SECURITY] [DLA 2027-1] jruby security updateMailing List;Third Party Advisory
-
https://seclists.org/bugtraq/2019/Dec/31
Bugtraq: [SECURITY] [DSA 4587-1] ruby2.3 security updateBroken Link;Mailing List;Third Party Advisory
-
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/
Ruby 2.4.8 リリースRelease Notes
-
https://seclists.org/bugtraq/2019/Dec/32
Bugtraq: [SECURITY] [DSA 4586-1] ruby2.5 security updateBroken Link;Mailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202003-06
Ruby: Multiple vulnerabilities (GLSA 202003-06) — Gentoo securityThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
[SECURITY] [DLA 2330-1] jruby security updateMailing List;Third Party Advisory
-
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/
CVE-2019-16255: Shell#[]およびShell#testのコード挿入脆弱性Vendor Advisory
Jump to