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.
Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 68%
VendorProductVersion
ruby-langruby
2.2 ≤
𝑥
≤ 2.2.8
ruby-langruby
2.3 ≤
𝑥
≤ 2.3.5
ruby-langruby
2.4 ≤
𝑥
≤ 2.4.2
ruby-langruby
2.5.0:preview1
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby1.9.1
bionic
dne
artful
dne
zesty
dne
xenial
dne
trusty
Fixed 1.9.3.484-2ubuntu1.7
released
ruby2.3
bionic
dne
artful
Fixed 2.3.3-1ubuntu1.2
released
zesty
ignored
xenial
Fixed 2.3.1-2~16.04.5
released
trusty
dne
ruby2.5
bionic
Fixed 2.5.1-1
released
artful
dne
zesty
dne
xenial
dne
trusty
dne