Arbitrary Code Injection Affecting ruby package, versions <2.4.2-r0
Snyk CVSS
Attack Complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
2.01% (89th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE39-RUBY-338823
- published 31 Aug 2017
- disclosed 31 Aug 2017
How to fix?
Upgrade Alpine:3.9
ruby
to version 2.4.2-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby
package and not the ruby
package as distributed by Alpine
.
See How to fix?
for Alpine:3.9
relevant fixed versions and status.
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.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0899
- https://www.debian.org/security/2017/dsa-3966
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://security-tracker.debian.org/tracker/CVE-2017-0899
- https://security.gentoo.org/glsa/201710-01
- https://github.com/rubygems/rubygems/commit/1bcbc7fe637b03145401ec9c094066285934a7f1
- https://github.com/rubygems/rubygems/commit/ef0aa611effb5f54d40c7fba6e8235eb43c5a491
- https://hackerone.com/reports/226335
- http://blog.rubygems.org/2017/08/27/2.6.13-released.html
- https://access.redhat.com/errata/RHSA-2017:3485
- https://access.redhat.com/errata/RHSA-2018:0378
- https://access.redhat.com/errata/RHSA-2018:0583
- https://access.redhat.com/errata/RHSA-2018:0585
- http://www.securityfocus.com/bid/100576
- http://www.securitytracker.com/id/1039249
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-0899