CVE-2017-17790

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRuby
PublishedDec 20, 2017
First seenDec 20, 2017

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang ruby2.2 ≤ v ≤ 2.2.8, 2.3 ≤ v ≤ 2.3.5, 2.4 ≤ v ≤ 2.4.2, 2.5.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.