Live threats

All CVEs / Rubygems

CVE-2017-0902Rubygems

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
4.8%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Aug 31, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-350, CWE-346
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rubygems.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rubygems-update < 2.6.13 2.6.13 gem "rubygems-update", ">= 2.6.13"

Per OSV / GitHub Advisories (GHSA-73w7-6w9g-gc8w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubygemsrubygems≤ 2.6.12
debiandebian_linux8.0
debiandebian_linux9.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_aus7.4
redhatenterprise_linux_server_aus7.6
redhatenterprise_linux_server_eus7.4
redhatenterprise_linux_server_eus7.5
redhatenterprise_linux_server_eus7.6
redhatenterprise_linux_server_tus7.4
redhatenterprise_linux_server_tus7.6
redhatenterprise_linux_workstation7.0

Official sources

References

Links published by the sources. Open them with care.