High severity · published Nov 26, 2019
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…
8.1
CVSS
4.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.2% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
GR
Graalvm · Oracle
19.3.0.2 · source: NVD
LE
Leap · Opensuse
15.1 · source: NVD
RU
Ruby · Ruby-lang
2.4.0 through 2.4.7; 2.5.0 through 2.5.6; 2.6.0 through 2.6.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-16255
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-16255
Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
Exploit
https://hackerone.com/reports/327512
Mailing List
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
Mailing List
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html
Mailing List
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
