CVE-2017-17790

Advisory lineage Upstream: 0 Downstream: 12
Modified
Published: 20 Dec 2017, 09:00
Last modified:05 Aug 2024, 20:59

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.0 (nvd)
EPSS Score
4.66% LOW
5% probability -0.10%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

20 Dec 2017, 09:00
Published
Vulnerability first disclosed
05 Aug 2024, 20:59
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0CRITICALScore: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 4.66% Percentile: 89%

Techniques & Countermeasures

  • CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

    The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Systems

  • ruby-langruby

    ≥ 2.2, ≤ 2.2.8 | ≥ 2.3, ≤ 2.3.5 | ≥ 2.4, ≤ 2.4.2 | 2.5.0:preview1

References (9)