CVE-2017-17790
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Ruby-Lang | Ruby | >= 2.2, <= 2.2.8 | — |
| Ruby-Lang | Ruby | >= 2.3, <= 2.3.5 | — |
| Ruby-Lang | Ruby | >= 2.4, <= 2.4.2 | — |
| Ruby-Lang | Ruby | 2.5.0 | Preview1 |
References
- https://github.com/ruby/ruby/pull/1777Exploit, Issue Tracking, Third Party Advisory
- https://github.com/ruby/ruby/pull/1777Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-17790?
How severe is CVE-2017-17790?
How do I fix CVE-2017-17790?
Are you affected by CVE-2017-17790?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
