An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible.
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Rubygems | Rubygems | 2.6.0 (including) | 3.0.2 (including) |
CloudForms Management Engine 5.10 | RedHat | cfme-0:5.10.5.1-1.el7cf | * |
CloudForms Management Engine 5.10 | RedHat | cfme-amazon-smartstate-0:5.10.5.1-1.el7cf | * |
CloudForms Management Engine 5.10 | RedHat | cfme-appliance-0:5.10.5.1-1.el7cf | * |
CloudForms Management Engine 5.10 | RedHat | cfme-gemset-0:5.10.5.1-1.el7cf | * |
CloudForms Management Engine 5.10 | RedHat | ruby-0:2.4.6-91.el7cf | * |
Red Hat Enterprise Linux 7 | RedHat | ruby-0:2.0.0.648-35.el7_6 | * |
Red Hat Enterprise Linux 7.4 Advanced Update Support | RedHat | ruby-0:2.0.0.648-37.el7_4 | * |
Red Hat Enterprise Linux 7.4 Telco Extended Update Support | RedHat | ruby-0:2.0.0.648-37.el7_4 | * |
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | RedHat | ruby-0:2.0.0.648-37.el7_4 | * |
Red Hat Enterprise Linux 8 | RedHat | ruby:2.5-8010020190711131821.cdc1202b | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-ruby24-ruby-0:2.4.6-92.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby25-ruby-0:2.5.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby24-ruby-0:2.4.6-92.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-ruby25-ruby-0:2.5.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-ruby24-ruby-0:2.4.6-92.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-ruby25-ruby-0:2.5.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-ruby24-ruby-0:2.4.6-92.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-ruby25-ruby-0:2.5.5-7.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-ruby24-ruby-0:2.4.6-92.el7 | * |
Jruby | Ubuntu | bionic | * |
Jruby | Ubuntu | cosmic | * |
Jruby | Ubuntu | disco | * |
Jruby | Ubuntu | esm-apps/bionic | * |
Jruby | Ubuntu | trusty/esm | * |
Ruby1.9.1 | Ubuntu | trusty | * |
Ruby2.0 | Ubuntu | trusty | * |
Ruby2.3 | Ubuntu | xenial | * |
Ruby2.5 | Ubuntu | bionic | * |
Ruby2.5 | Ubuntu | cosmic | * |
Ruby2.5 | Ubuntu | disco | * |
Ruby2.5 | Ubuntu | eoan | * |
When creating commands using interpolation into a string, developers may assume that only the arguments/options that they specify will be processed. This assumption may be even stronger when the programmer has encoded the command in a way that prevents separate commands from being provided maliciously, e.g. in the case of shell metacharacters. When constructing the command, the developer may use whitespace or other delimiters that are required to separate arguments when the command. However, if an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer. The attacker may then be able to change the behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences.