Live threats

All CVEs / Rubygems

CVE-2017-0899Rubygems

Critical 9.8 No auth neededHigh EPSS

Priority
75
CVSS 3.0
9.8
EPSS
11.1%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Aug 31, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-150, CWE-94
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.

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-7gcp-2gmq-w3xh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubygemsrubygems≤ 2.6.12
debiandebian_linux8.0
debiandebian_linux9.0
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.