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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2017-12-20 09:29
Updated : 2018-08-03 01:29
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')