CVE-2019-16255
Last modified
CVE-2019-16255 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 4.22% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Ruby | >= 2.4.0, <= 2.4.7 |
| Ruby-Lang | Ruby | >= 2.5.0, <= 2.5.6 |
| Ruby-Lang | Ruby | >= 2.6.0, <= 2.6.4 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Opensuse | Leap | 15.1 |
| Oracle | Graalvm | 19.3.0.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlThird Party Advisory
- https://hackerone.com/reports/327512Exploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/11/msg00025.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00009.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Dec/31Broken Link, Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Dec/32Broken Link, Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-06Third Party Advisory
- https://www.debian.org/security/2019/dsa-4587Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.htmlPatch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.htmlThird Party Advisory
- https://hackerone.com/reports/327512Exploit, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/11/msg00025.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00009.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Dec/31Broken Link, Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2019/Dec/32Broken Link, Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-06Third Party Advisory
- https://www.debian.org/security/2019/dsa-4587Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-16255?
How severe is CVE-2019-16255?
How do I fix CVE-2019-16255?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-1625A vulnerability in the CLI of Cisco SD-WAN Solution could al…7.8
- CVE-2019-16250includes/wizard/wizard.php in the Ocean Extra plugin through…7.5
- CVE-2019-16251plugin-fw/lib/yit-plugin-panel-wc.php in the YIT Plugin Fram…4.3
- CVE-2019-16252Missing SSL Certificate Validation in the Nutfind.com applic…5.9
- CVE-2019-16253The Text-to-speech Engine (aka SamsungTTS) application befor…7.8
- CVE-2019-16254Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2…5.3
- CVE-2019-16256Some Samsung devices include the SIMalliance Toolbox Browser…9.8
- CVE-2019-16257Some Motorola devices include the SIMalliance Toolbox Browse…9.8
- CVE-2019-16258The bootloader of the homee Brain Cube V2 through 2.23.0 all…6.8
- CVE-2019-1626A vulnerability in the vManage web-based UI (Web UI) of the …8.8
- CVE-2019-16261Tripp Lite PDUMH15AT 12.04.0053 and SU750XL 12.04.0052 devic…9.1
- CVE-2019-16263The Twitter Kit framework through 3.4.2 for iOS does not pro…7.4
Are you affected by CVE-2019-16255?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
