CVE-2017-0902
HIGH 8.1CVSS 3.0RubyGems has Origin Validation Error vulnerability
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.
- Published
- 31 Aug 2017
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-346CWE-350
- Also known as
- GHSA-73w7-6w9g-gc8w
- Sources
- NVDJSONOSV GHSA-73w7-6w9g-gc8wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubygems | rubygemscpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* |
<= 2.6.12 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:* |
= 17.10 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | RubyGems | rubygems-update | < 2.6.13 | 2.6.13 |
References
- http://blog.rubygems.org/2017/08/27/2.6.13-released.html · Patch, Vendor Advisory, WEB
- http://www.securityfocus.com/bid/100586 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039249 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3485 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:0378 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:0583 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2018:0585 · Third Party Advisory, WEB
- https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32 · Exploit, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/218088 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html · Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/201710-01 · Third Party Advisory, WEB
- https://usn.ubuntu.com/3553-1/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/3685-1/ · Third Party Advisory, WEB
- https://www.debian.org/security/2017/dsa-3966 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-0902 · ADVISORY
- https://github.com/rubygems/rubygems · PACKAGE
- https://web.archive.org/web/20170907040741/http://www.securityfocus.com/bid/100586 · WEB
- https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 31 Aug 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2022)