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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-11-26T00:00:00

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

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

Link: CVE-2019-16255

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2023-04-30T23:15:44.683

Link: CVE-2019-16255

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2019-16255 - Bugzilla