Improper Input Validation Affecting ruby package, versions <2.4.2-r0
Snyk CVSS
Attack Complexity
Low
Integrity
High
Threat Intelligence
EPSS
0.88% (83rd
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-338457
- 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 fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0901
- 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-0901
- https://www.exploit-db.com/exploits/42611/
- https://security.gentoo.org/glsa/201710-01
- https://github.com/rubygems/rubygems/commit/ad5c0a53a86ca5b218c7976765c0365b91d22cb2
- https://hackerone.com/reports/243156
- 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/100580
- http://www.securitytracker.com/id/1039249
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-0901
- https://usn.ubuntu.com/3553-1/
- https://usn.ubuntu.com/3685-1/