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.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2018:0585 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html | mailing list |
https://access.redhat.com/errata/RHSA-2018:0378 | vendor advisory |
https://github.com/ruby/ruby/pull/1777 | third party advisory issue tracking exploit |
https://access.redhat.com/errata/RHSA-2018:0584 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html | mailing list |
https://access.redhat.com/errata/RHSA-2018:0583 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html | mailing list |
https://www.debian.org/security/2018/dsa-4259 | vendor advisory |