CVE-2017-0902
rubygems: DNS hijacking vulnerability
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-350, CWE-346
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | rubygems-update | <2.6.13 | 2.6.132.4.5.32.5.2.1 |
Open a package to see all its vulnerabilities.
Operating systems · 70 fixes
Oracle Linux 1 release · 9 packages
fixed 9
rubygem-io-console
rubygem-rake
rubygem-bigdecimal
rubygem-json
rubygem-psych
ruby
+3
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-io-console | 0.4.2-33.el7_4 |
| 7 | rubygem-rake | 0.9.6-33.el7_4 |
| 7 | rubygem-bigdecimal | 1.2.0-33.el7_4 |
| 7 | rubygem-json | 1.7.7-33.el7_4 |
| 7 | rubygem-psych | 2.0.0-33.el7_4 |
| 7 | ruby +5 | 2.0.0.648-33.el7_4 |
3 more rows
Red Hat 1 release · 48 packages
fixed 48
rh-ruby23-rubygem-net-telnet
rh-ruby24-rubygem-net-telnet
rh-ruby24-rubygem-xmlrpc
rh-ruby22-rubygem-power-assert
rh-ruby23-rubygem-power-assert
rh-ruby24-rubygem-power-assert
+42
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-ruby23-rubygem-net-telnet | 0:0.1.1-67.el7 | RHSA-2018:0585 |
| 7 | rh-ruby24-rubygem-net-telnet | 0:0.1.1-86.el7 | RHSA-2017:3485 |
| 7 | rh-ruby24-rubygem-xmlrpc | 0:0.2.1-86.el7 | RHSA-2017:3485 |
| 7 | rh-ruby22-rubygem-power-assert | 0:0.2.2-19.el7 | RHSA-2018:0583 |
| 7 | rh-ruby23-rubygem-power-assert | 0:0.2.6-67.el7 | RHSA-2018:0585 |
| 7 | rh-ruby24-rubygem-power-assert | 0:0.4.1-86.el7 | RHSA-2017:3485 |
42 more rows
SUSE Linux Enterprise 1 release · 1 package
fixed 1
libruby2-1-2-1
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
alpine 4 releases · 1 package
fixed 4
ruby
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | ruby | 2.4.2-r0 |
| 3.23 | ruby | 2.4.2-r0 |
| 3.24 | ruby | 2.4.2-r0 |
| edge | ruby | 2.4.2-r0 |
debian 5 releases · 2 packages
fixed 5
rubygems
ruby2-3
| Release | Package | Fixed in |
|---|---|---|
| 11 | rubygems | 3.2.0~rc.1-1 |
| 12 | rubygems | 3.2.0~rc.1-1 |
| 13 | rubygems | 3.2.0~rc.1-1 |
| 14 | rubygems | 3.2.0~rc.1-1 |
| 9 | ruby2-3 | 2.3.3-1+deb9u1 |
echo 1 release · 1 package
fixed 1
rubygems
| Release | Package | Fixed in |
|---|---|---|
| rubygems | 3.2.0~rc.1-1 |
ubuntu 2 releases · 1 package
affected 2
jruby
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | jruby | affected |
| 20.04-ESM | jruby | affected |
References
- blog.rubygems.org http://blog.rubygems.org/2017/08/27/2.6.13-released.html
- www.securityfocus.com http://www.securityfocus.com/bid/100586
- www.securitytracker.com http://www.securitytracker.com/id/1039249
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3485
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0378
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0583
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:0585
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-0902
- blog.rubygems.org https://blog.rubygems.org/2017/08/27/2.6.13-released.html
- github.com https://github.com/rubygems/rubygems
Show all 28 references
- github.com https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32
- hackerone.com https://hackerone.com/reports/218088
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-0902.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-0378.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-0902
- security.gentoo.org https://security.gentoo.org/glsa/201710-01
- ubuntu.com https://ubuntu.com/security/notices/USN-3553-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3685-1
- usn.ubuntu.com https://usn.ubuntu.com/3553-1
- usn.ubuntu.com https://usn.ubuntu.com/3553-1/
- usn.ubuntu.com https://usn.ubuntu.com/3685-1
- usn.ubuntu.com https://usn.ubuntu.com/3685-1/
- web.archive.org https://web.archive.org/web/20170907040741/http://www.securityfocus.com/bid/100586
- web.archive.org https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-0902
- www.debian.org https://www.debian.org/security/2017/dsa-3966
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.