CVE-2017-0902
high
CVSS v3
8.1
CVSS v4 NEW
โ
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
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Red Hat Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| 7.0 | Affected | โ |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Ubuntu Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| 17.10 | Affected | โ |
| 16.04 | Affected | โ |
| 14.04 | Affected | โ |
Debian Mixed 7 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.2.0~rc.1-1 |
| sid | Fixed | 3.2.0~rc.1-1 |
| forky | Fixed | 3.2.0~rc.1-1 |
| bullseye | Fixed | 3.2.0~rc.1-1 |
| bookworm | Fixed | 3.2.0~rc.1-1 |
| 9.0 | Affected | โ |
| 8.0 | Affected | โ |
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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.