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.
2019-11-26T18:15:15.303
2024-11-21T04:30:24.033
Modified
CVSSv3.1: 8.1 (HIGH)
AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | ruby-lang | ruby | ≤ 2.4.7 | Yes |
| Application | ruby-lang | ruby | ≤ 2.5.6 | Yes |
| Application | ruby-lang | ruby | ≤ 2.6.4 | Yes |
| Operating System | debian | debian_linux | 8.0 | Yes |
| Operating System | debian | debian_linux | 9.0 | Yes |
| Operating System | opensuse | leap | 15.1 | Yes |
| Application | oracle | graalvm | 19.3.0.2 | Yes |