VDB

CVE-2017-17790

CVE-2017-17790 PUBLISHED

Reported by mitre · Published December 20, 2017

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.

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
amazon:2ruby-devel0
amazon:2ruby-irb0
amazon:2ruby-doc0
amazon:2rubygem-rdoc0
amazon:2rubygem-rake0
amazon:2rubygem-bigdecimal0
amazon:2rubygems-devel0
amazon:2ruby-tcltk0
amazon:2rubygem-psych0
amazon:2ruby-libs0
amazon:2ruby0
amazon:2rubygems0
amazon:2rubygem-json0
amazon:2rubygem-io-console0
amazon:2rubygem-minitest0

Timeline

  • Dec 20, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (7 in total, the first dated here)
  • Oct 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-17790
vulnetix vdb fixes CVE-2017-17790

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-17790/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›