{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-0899","published":"2017-08-31T20:29:00.417000Z","last_modified":"2026-06-17T00:58:29.313000Z","status":"Modified","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-150","CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*","part":"a","vendor":"rubygems","product":"rubygems","version_end_including":"2.6.12"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_desktop","version":"7.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server","version":"7.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_aus","version":"7.4"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_aus","version":"7.6"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_eus","version":"7.4"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_eus","version":"7.5"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_eus","version":"7.6"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_tus","version":"7.4"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server_tus","version":"7.6"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_workstation","version":"7.0"}],"cpes_truncated":false,"vendors":["rubygems","debian","redhat"],"products":["rubygems/rubygems","debian/debian_linux","redhat/enterprise_linux_desktop","redhat/enterprise_linux_server","redhat/enterprise_linux_server_aus","redhat/enterprise_linux_server_eus","redhat/enterprise_linux_server_tus","redhat/enterprise_linux_workstation"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7gcp-2gmq-w3xh","ecosystem":"RubyGems","name":"rubygems-update","purl":"pkg:gem/rubygems-update","ranges":[{"introduced":"0","fixed":"2.6.13"}],"versions":["0.8.10","0.8.11","0.8.3","0.8.4","0.8.5","0.8.6","0.8.8","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","1.0.0","1.0.1","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.4.2","1.5.0","1.5.2","1.5.3","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.10","1.8.11","1.8.12","1.8.13","1.8.14","1.8.15","1.8.16","1.8.17","1.8.18","1.8.19","1.8.2","1.8.20","1.8.21","1.8.22","1.8.23","1.8.23.2","1.8.24","1.8.25","1.8.26","1.8.27","1.8.28","1.8.29","1.8.3","1.8.30","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","2.0.0","2.0.0.preview2","2.0.0.preview2.1","2.0.0.preview2.2","2.0.0.rc.1","2.0.0.rc.2","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.0.rc.1","2.1.0.rc.2","2.1.1","2.1.10","2.1.11","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.0.rc.1","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.5.0","2.5.1","2.5.2","2.6.0","2.6.1","2.6.10","2.6.11","2.6.12","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9"]}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2017-0899/","html_en":"/en/cve/CVE-2017-0899/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-0899","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-0899"},"untrusted":{"vendor_name":"Rubygems","product_name":"Rubygems","desc_en":"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.","affected":[{"untrusted_vendor":"HackerOne","untrusted_product":"RubyGems"}],"references":[{"url":"http://blog.rubygems.org/2017/08/27/2.6.13-released.html","tags":["Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/100576","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039249","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3485","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0378","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0583","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:0585","tags":["Third Party Advisory"]},{"url":"https://github.com/rubygems/rubygems/commit/1bcbc7fe637b03145401ec9c094066285934a7f1","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rubygems/rubygems/commit/ef0aa611effb5f54d40c7fba6e8235eb43c5a491","tags":["Patch","Third Party Advisory"]},{"url":"https://hackerone.com/reports/226335","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201710-01","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2017/dsa-3966","tags":["Third Party Advisory"]}]}}