VDB
CVE-2017-0899
CVE-2017-0899
PUBLISHED
CVSS 9.800000190734863 CRITICAL
RubyGems Code Injection vulnerability
Reported by hackerone · Published August 31, 2017
rubygems-update is fixed in 2.6.12 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygems-update | RubyGems | 2.6.12 |
| rubygems | rubygems | 2.6.12 |
| ruby2.3 | Ubuntu:16.04:LTS | 2.3.1-2~16.04.6 |
| ruby1.9.1 | Ubuntu:14.04:LTS | 1.9.3.484-2ubuntu1.5 |
Risk scores
CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | RubyGems | Versions before 2.6.13 |
| RubyGems | rubygems-update | 0 |
| HackerOne | RubyGems | 2.6.13 |
| alpine | ruby | 0, 0, 0 |
| alpine | ruby2.2 | 0 |
Timeline
- Aug 30, 2017 PoC Published
- Aug 31, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (13 in total, the first dated here)
- Mar 5, 2026 Security Advisory (13 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-0899
vulnetix vdb fixes CVE-2017-0899
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-0899/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:0585 vendor-advisoryx_refsource_REDHAT
- DSA-3966 vendor-advisoryx_refsource_DEBIAN
- RHSA-2018:0378 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- 1039249 vdb-entryx_refsource_SECTRACK
- x_refsource_MISC
- x_refsource_MISC
- RHSA-2017:3485 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-listx_refsource_MLIST
- RHSA-2018:0583 vendor-advisoryx_refsource_REDHAT
- GLSA-201710-01 vendor-advisoryx_refsource_GENTOO
- 100576 vdb-entryx_refsource_BID
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2017-0899 advisory