National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-17790 Detail

Current 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.

Source:  MITRE      Last Modified:  12/20/2017      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2017-17790
Original release date:
12/20/2017
Last revised:
02/03/2018
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
CVSS v3 Base Score:
9.8 Critical
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (legend)
Impact Score:
5.9
Exploitability Score:
3.9
CVSS Version 3 Metrics:
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High
CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
https://github.com/ruby/ruby/pull/1777 Exploit; Issue Tracking; Third Party Advisory External Source CONFIRM https://github.com/ruby/ruby/pull/1777
https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html External Source MLIST [debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security update
https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html External Source MLIST [debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security update

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes