KeygraphLabs · CVE MCP

CVE-2017-0899 · hackerone

CVE-2017-0899

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.

Published 2017-08-31, last changed 2026-06-17. Weakness: CWE-150, CWE-94.

CVSS
9.8
critical, from NVD
EPSS
11.1%
percentile 96.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: rubygems-update 2.6.13 (RubyGems). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in rubygems/rubygems by 1bcbc7fe63, ef0aa611ef, 1bcbc7fe63. Functions changed by the fix: clean_text, output_versions, format_text. Regression tests: test/rubygems/test_gem_commands_query_command.rb, test/rubygems/test_gem_text.rb. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-08-31Published
2022-05-13Package advisory GHSA-7gcp-2gmq-w3xh
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 11.1%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-7gcp-2gmq-w3xhrubygems-update (RubyGems)2.6.13

Also known as: GHSA-7gcp-2gmq-w3xh

Related

CVEPublishedCVSSSummary
CVE-2019-83232019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83222019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83212019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83252019-06-177.5same package: rubygems-update (RubyGems)
CVE-2019-83242019-06-178.8same package: rubygems-update (RubyGems)
CVE-2019-83202019-06-067.4same package: rubygems-update (RubyGems)
CVE-2018-10000792018-03-135.5same package: rubygems-update (RubyGems)
CVE-2018-10000782018-03-136.1same package: rubygems-update (RubyGems)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-0899, or call /api/v1/vulnerabilities/CVE-2017-0899. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org