CVE-2017-0902
high
CVSS v3
8.1
CVSS v2
6.8
VIR risk
8.1
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.
Predictions
Exploit likelihood
88%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-0902
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-0902.html
Vendor advisory: support@hackerone.com — https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32
Vendor advisory: support@hackerone.com — http://blog.rubygems.org/2017/08/27/2.6.13-released.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| rhel | 7.0 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 17.10 | affected | |
| debian | bookworm | fixed | 3.2.0~rc.1-1 |
| debian | bullseye | fixed | 3.2.0~rc.1-1 |
| debian | forky | fixed | 3.2.0~rc.1-1 |
| debian | sid | fixed | 3.2.0~rc.1-1 |
| debian | trixie | fixed | 3.2.0~rc.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | rubygems-update | <>= 2.4.5.3 | >= 2.4.5.3 |
| RubyGems | rubygems-update | <2.6.13 | 2.6.13 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rubygems | rubygems | {"endIncluding":"2.6.12"} | |
References
- https://blog.rubygems.org/2017/08/27/2.6.13-released.html
- http://blog.rubygems.org/2017/08/27/2.6.13-released.html
- http://www.securityfocus.com/bid/100586
- http://www.securitytracker.com/id/1039249
- https://access.redhat.com/errata/RHSA-2017:3485
- https://access.redhat.com/errata/RHSA-2018:0378
- https://access.redhat.com/errata/RHSA-2018:0583
- https://access.redhat.com/errata/RHSA-2018:0585
- https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32
- https://hackerone.com/reports/218088
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://security.gentoo.org/glsa/201710-01
- https://usn.ubuntu.com/3553-1/
- https://usn.ubuntu.com/3685-1/
- https://www.debian.org/security/2017/dsa-3966
- https://www.suse.com/security/cve/CVE-2017-0902.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-0902
- https://github.com/rubygems/rubygems
- https://usn.ubuntu.com/3553-1
- https://usn.ubuntu.com/3685-1
- https://web.archive.org/web/20170907040741/http://www.securityfocus.com/bid/100586
- https://web.archive.org/web/20170907215801/http://www.securitytracker.com/id/1039249
- https://security-tracker.debian.org/tracker/CVE-2017-0902
CWEs
CWE-350 CWE-346
Verify integrity in audit chain (admin only). AS-IS.