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.
Published: 2019-11-26
Score: 8.1 High
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2007-1 ruby2.1 security update
Debian DLA Debian DLA DLA-2027-1 jruby security update
Debian DLA Debian DLA DLA-2330-1 jruby security update
Debian DLA Debian DLA DLA-3408-1 jruby security update
Debian DSA Debian DSA DSA-4586-1 ruby2.5 security update
Debian DSA Debian DSA DSA-4587-1 ruby2.3 security update
EUVD EUVD EUVD-2019-7061 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.
Ubuntu USN Ubuntu USN USN-4201-1 Ruby vulnerabilities
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01648}

epss

{'score': 0.01877}


Subscriptions

Debian Debian Linux
Opensuse Leap
Oracle Graalvm
Redhat Enterprise Linux Rhel E4s Rhel Eus Rhel Software Collections
Ruby-lang Ruby
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T01:10:41.667Z

Reserved: 2019-09-11T00:00:00.000Z

Link: CVE-2019-16255

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-11-26T18:15:15.303

Modified: 2024-11-21T04:30:24.033

Link: CVE-2019-16255

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-11-26T00:00:00Z

Links: CVE-2019-16255 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses