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.
                
            Metrics
Affected Vendors & Products
References
        History
                    No history.
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: mitre
Published: 2017-12-20T09:00:00
Updated: 2024-08-05T20:59:17.807Z
Reserved: 2017-12-20T00:00:00
Link: CVE-2017-17790
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Deferred
Published: 2017-12-20T09:29:01.477
Modified: 2025-04-20T01:37:25.860
Link: CVE-2017-17790
 Redhat
                        Redhat