The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a | character, a different vulnerability than CVE-2017-17405. NOTE: situations with untrusted input may be highly unlikely.
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ruby | Ruby-lang | 2.2 (including) | 2.2.8 (including) |
Ruby | Ruby-lang | 2.3 (including) | 2.3.5 (including) |
Ruby | Ruby-lang | 2.4 (including) | 2.4.2 (including) |
Ruby | Ruby-lang | 2.5.0-preview1 (including) | 2.5.0-preview1 (including) |
Red Hat Enterprise Linux 7 | RedHat | ruby-0:2.0.0.648-33.el7_4 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-ruby22-ruby-0:2.2.9-19.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-ruby24-ruby-0:2.4.3-90.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-ruby23-ruby-0:2.3.6-67.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-ruby22-ruby-0:2.2.9-19.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-ruby24-ruby-0:2.4.3-90.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-ruby23-ruby-0:2.3.6-67.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby22-ruby-0:2.2.9-19.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby24-ruby-0:2.4.3-90.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-ruby23-ruby-0:2.3.6-67.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-ruby22-ruby-0:2.2.9-19.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-ruby24-ruby-0:2.4.3-90.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-ruby23-ruby-0:2.3.6-67.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-ruby22-ruby-0:2.2.9-19.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-ruby24-ruby-0:2.4.3-90.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-ruby23-ruby-0:2.3.6-67.el7 | * |
Ruby1.9.1 | Ubuntu | trusty | * |
Ruby2.3 | Ubuntu | artful | * |
Ruby2.3 | Ubuntu | xenial | * |
Ruby2.3 | Ubuntu | zesty | * |
Ruby2.5 | Ubuntu | bionic | * |
Ruby2.5 | Ubuntu | devel | * |