VDB
CVE-2017-17790
CVE-2017-17790
PUBLISHED
Reported by mitre · Published December 20, 2017
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| amazon:2 | ruby-devel | 0 |
| amazon:2 | ruby-irb | 0 |
| amazon:2 | ruby-doc | 0 |
| amazon:2 | rubygem-rdoc | 0 |
| amazon:2 | rubygem-rake | 0 |
| amazon:2 | rubygem-bigdecimal | 0 |
| amazon:2 | rubygems-devel | 0 |
| amazon:2 | ruby-tcltk | 0 |
| amazon:2 | rubygem-psych | 0 |
| amazon:2 | ruby-libs | 0 |
| amazon:2 | ruby | 0 |
| amazon:2 | rubygems | 0 |
| amazon:2 | rubygem-json | 0 |
| amazon:2 | rubygem-io-console | 0 |
| amazon:2 | rubygem-minitest | 0 |
Timeline
- Dec 20, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 6, 2026 Security Advisory (7 in total, the first dated here)
- Oct 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-17790
vulnetix vdb fixes CVE-2017-17790
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-17790/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:0585 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security update mailing-listx_refsource_MLIST
- RHSA-2018:0378 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2018:0584 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-listx_refsource_MLIST
- RHSA-2018:0583 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security update mailing-listx_refsource_MLIST
- DSA-4259 vendor-advisoryx_refsource_DEBIAN