Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated May 1, 2023
Description
Published by the National Vulnerability Database
Nov 26, 2019
Published to the GitHub Advisory Database
May 24, 2022
Last updated
May 1, 2023
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.
References