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.
Remediation
References
Related Vulnerabilities
PHP Numeric Errors Vulnerability (CVE-2010-4645)
WordPress Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2014-9033)
SharePoint CVE-2020-17060 Vulnerability (CVE-2020-17060)
Dot CMS Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2020-19138)
WordPress Plugin VDZ Google Analytics or Google Tag Manager/GTM Cross-Site Scripting (1.5.5)