Affected versions
Ubuntu16.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu16.04:LTS/ruby2.3
- Affected versions
- <2.3.1-2~ubuntu16.04.14
- Fixed version
- 2.3.1-2~ubuntu16.04.14
Ubuntu18.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu18.04:LTS/ruby2.5
- Affected versions
- <2.5.1-1ubuntu1.6
- Fixed version
- 2.5.1-1ubuntu1.6
Ubuntu20.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/jruby
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/jruby
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/jruby
- Affected versions
- <1.5.6-9+deb8u2build0.14.04.1~esm2
- Fixed version
- 1.5.6-9+deb8u2build0.14.04.1~esm2
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.

