CVE-2017-17790

critical
Published 2017-12-20 · Modified 2026-05-13
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-17790.html

OS impact

OSVersionStatusFixed in
suse slesaffected

Application impact

VendorProductVersionsFixed
ruby-langruby{"startIncluding":"2.2","endIncluding":"2.2.8"}
ruby-langruby2.5.0

References

CWEs

CWE-74

Verify integrity in audit chain (admin only). AS-IS.