All vulnerabilities

Servers and applications

CVE-2019-16255

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.

Severity
High 8.1
Published
26 Nov 2019
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • From 2.4.0 up to 2.4.7
  • From 2.5.0 up to 2.5.6
  • From 2.6.0 up to 2.6.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2019-16255
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2019-16255