9.8

CVE-2017-17790: ruby-lang ruby

Modified
AliasesUBUNTU-CVE-2017-17790
Published 20-12-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-17790 is a critical (CVSS 9.8) vulnerability in ruby-lang ruby. EPSS estimates a 5.91% chance of exploitation in the next 30 days, higher than 93.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.0 (NVD)
EPSS score
5.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 11 · Related 2

Timeline

  1. 20-12-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability 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

3 scores · 2 sources · 2 versions

EPSS trend

Probability

5.91%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

No change 0.00 pp

From 5.91% on 05-10-2026

05-10-202604-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Ruby

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu2 products
  • ruby1.9.1< 1.9.3.484-2ubuntu1.7
  • ruby2.3< 2.3.1-2~16.04.5
Ruby-lang1 product
  • rubyEOL≥ 2.2, ≤ 2.2.8 | ≥ 2.3, ≤ 2.3.5 | ≥ 2.4, ≤ 2.4.2 | 2.5.0:preview1

2 vendors · 3 products

References

12 links
Show all 12 references