CVE-2017-17790
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2017-17790
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2017-12-20T09:29:01
- Last Modified Date
- 2018-08-03T01:29:02
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 1 | OR | 2.2 | 2.2.8 |
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 1 | OR | 2.3 | 2.3.5 |
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | 1 | OR | 2.4 | 2.4.2 |
cpe:2.3:a:ruby-lang:ruby:2.5.0:preview1:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-17790 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17790 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:40:31 | Added to TrackCVE | |||
2022-12-03 00:10:37 | 2017-12-20T09:29Z | 2017-12-20T09:29:01 | CVE Published Date | updated |
2022-12-03 00:10:37 | 2018-08-03T01:29:02 | CVE Modified Date | updated | |
2022-12-03 00:10:37 | Modified | Vulnerability Status | updated |