|Description||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.|
|Source||CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)|
|NVD severity||high (attack range: remote)|
|Debian Bugs||884878, 884879|
Vulnerable and fixed packages
The table below lists information on source packages.
|ruby2.3 (PTS)||stretch (security), stretch||2.3.3-1+deb9u2||vulnerable|
|ruby2.5 (PTS)||buster, sid||2.5.1-3||fixed|
The information below is based on the following data on fixed versions.
[stretch] - ruby2.3 <postponed> (Minor issue, can be fixed along in future DSA)
[jessie] - ruby2.1 <postponed> (Minor issue, can be fixed along in future DSA)
Fixed by: https://github.com/ruby/ruby/commit/e7464561b5151501beb356fc750d5dd1a88014f7