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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:2.5.0:preview1:*:*:*:*:*:*

History

No history.

Information

Published : 2017-12-20 09:29

Updated : 2023-12-10 12:15


NVD link : CVE-2017-17790

Mitre link : CVE-2017-17790

CVE.ORG link : CVE-2017-17790


JSON object : View

Products Affected

ruby-lang

  • ruby
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')