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)
|
Information
Published : 2017-12-20 01:29
Updated : 2018-08-02 18:29
NVD link : CVE-2017-17790
Mitre link : CVE-2017-17790
JSON object : View
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Products Affected
ruby-lang
- ruby