synced 14 MIN AGO
01 Record

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 '|'

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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 '|'

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
5.91% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 92.9% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2017-12-20 09:00Z8 YR AGO
Last updated
2024-08-05 20:59Z2 YR AGO
Reserved
2017-12-20
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')Class
  • CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')Class
Data version
5.1
Document digest
724121b3428b87cc05c1ee01992189dc18db69f7a8b6cf8927fa0a77feef74b9

05 Affected products

VendorProductVersionsPlatforms
redhatcloudforms_managementengineNot specified—
redhatenterprise_linuxNot specified—
redhatrhel_software_collectionsNot specified—
rhel_sam1Not specified—
ruby-langrubyNot specified—

06 References

07 Fixed in

Ubuntu 14.04 LTS

  • ruby1.9.1
    Fixed in 1.9.3.484-2ubuntu1.7

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • ruby2.3
    Fixed in 2.3.1-2~16.04.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.