All vulnerabilities

Servers and applications

CVE-2017-17790

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.

Severity
Critical 9.8
Published
20 Dec 2017
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • From 2.2 up to 2.2.8
  • From 2.3 up to 2.3.5
  • From 2.4 up to 2.4.2
  • Version 2.5.0-preview1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-17790
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-17790