Lucene search

K
rubygemsRubySecRUBY:RUBY-2017-17790
HistoryDec 19, 2017 - 9:00 p.m.

The lazy_initialize function in lib/resolv.rb in Ruby

2017-12-1921:00:00
RubySec
rubysec.com
7

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.

CWE: CWE-74 - Improper Neutralization of Special Elements

CVSS_V3: 9.8 - CRITICAL - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CPENameOperatorVersion
rubyle2.2.7
rubyge2.3.0
rubyle2.3.4
rubyge2.4.0
rubylt2.4.3