CVE-2017-17790

UnknownEPSS 5.91%

Last modified

CVE-2017-17790 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 5.91% chance of exploitation in the next 30 days.

Description

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

EPSS Probability
5.91%

92.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Ruby-LangRuby>= 2.2, <= 2.2.8
Ruby-LangRuby>= 2.3, <= 2.3.5
Ruby-LangRuby>= 2.4, <= 2.4.2
Ruby-LangRuby2.5.0Preview1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2017-17790?
Severity scoring for CVE-2017-17790 is pending analysis. The EPSS model estimates a 5.91% probability of exploitation in the next 30 days.
How do I fix CVE-2017-17790?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-17790?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST