NetSight
critical9.8

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:…

Impact

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

VendorProductAffected versions
Ruby-LangRuby
from 2.2 through 2.2.8
from 2.3 through 2.3.5
from 2.4 through 2.4.2
Version 2.5.0

Weakness classification

References