{"id":"CVE-2017-17790","published":"2017-12-20T09:00:00Z","modified":"2024-08-05T20:59:17Z","title":"The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05913,"percentile":0.93413,"provenance":"source"},"cwes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/ruby/ruby/pull/1777","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0584","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2018/dsa-4259","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.68}]},"summary":{"text":"The flaw is in the lazy_initialize function in lib/resolv.rb of Ruby, affecting versions through 2.4.3, where the code calls Kernel#open in a way that can lead to command injection. An attacker could potentially run commands by supplying a Resolv::Hosts::new argument that begins with a '|' character, though this would require the application to pass untrusted input into that argument, which is considered highly unlikely.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:02Z"},"euvd":{"id":"EUVD-2017-8941","exploited":false,"provenance":"source"}}