CVE-2019-16255

ruby: Code injection via command argument of Shell#test / Shell#[]

Published Nov 26, 2019 CVSS 3.1 · 8.1 High EPSS 4.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics epss

{'score': 0.01648}

epss

{'score': 0.01877}