CVE-2017-0899

critical
Published 2017-08-29 · Modified 2023-11-08
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

Description

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-0899

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-0899.html

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — https://hackerone.com/reports/226335

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — https://github.com/rubygems/rubygems/commit/ef0aa611effb5f54d40c7fba6e8235eb43c5a491

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — https://github.com/rubygems/rubygems/commit/1bcbc7fe637b03145401ec9c094066285934a7f1

vendor Authored 2026-05-27

Vendor advisory: support@hackerone.com — http://blog.rubygems.org/2017/08/27/2.6.13-released.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debian9.0affected
redhat rhel7.0affected
debian debianbookwormfixed3.2.0~rc.1-1
debian debianbullseyefixed3.2.0~rc.1-1
debian debianforkyfixed3.2.0~rc.1-1
debian debiansidfixed3.2.0~rc.1-1
debian debiantrixiefixed3.2.0~rc.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsrubygems-update<>= 2.4.5.3>= 2.4.5.3
ruby RubyGemsrubygems-update<2.6.132.6.13

Application impact

VendorProductVersionsFixed
rubygemsrubygems{"endIncluding":"2.6.12"}

References

CWEs

CWE-150 CWE-94

Verify integrity in audit chain (admin only). AS-IS.