CVE-2017-0902: canonical ubuntu_linux
Vulnerability summary
CVE-2017-0902 is a high (CVSS 8.1) vulnerability in canonical ubuntu_linux. EPSS estimates a 4.75% chance of exploitation in the next 30 days, higher than 91.8% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 3Timeline
- 31-08-2017PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · RubygemsEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.75%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 4.73% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundRubygems
Maturity: poc
Exploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-350Reliance on Reverse DNS Resolution for a Security-Critical ActionThe product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.
- CWE-346Origin Validation ErrorThe product does not properly verify that the source of data or communication is valid.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat6 products
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.4 | 7.6
- enterprise_linux_server_eus7.4 | 7.5 | 7.6
- enterprise_linux_server_tus7.4 | 7.6
Ubuntu3 products
- jrubyAll versions (No fix recorded)
- ruby2.0< 2.0.0.484-1ubuntu2.10
- ruby2.3< 2.3.1-2~16.04.6
Alpine2 products
- ruby< 2.4.2-r0 | < 2.2.8-r0 | < 2.3.5-r0
- ruby2.2< 2.2.8-r0
Debian2 products
- rubygems< 3.2.0~rc.1-1
- debian_linuxEOL8.0 | 9.0
RubyGems2 products
- rubygems-update< 2.6.13
- rubygems≤ 2.6.12
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Hackerone1 product
- rubygemsVersions before 2.6.13
7 vendors · 17 products
References
27 links- lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
Show all 27 references
- github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32X Refsource MISCExploitPatchThird Party AdvisoryWEB
- github.com/rubygems/rubygemsPACKAGE