CVE-2018-16396 Affecting ruby package, versions <2.5.2-r0
Snyk CVSS
Attack Complexity
High
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
1.31% (86th
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-338904
- published 19 Oct 2018
- disclosed 16 Nov 2018
Introduced: 19 Oct 2018
CVE-2018-16396 Open this link in a new tabHow to fix?
Upgrade Alpine:3.9
ruby
to version 2.5.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.
An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.
References
- https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/
- https://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16396
- https://www.debian.org/security/2018/dsa-4332
- https://lists.debian.org/debian-lts-announce/2018/10/msg00020.html
- https://security-tracker.debian.org/tracker/CVE-2018-16396
- https://hackerone.com/reports/385070
- https://security.netapp.com/advisory/ntap-20190221-0002/
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://access.redhat.com/errata/RHSA-2018:3729
- https://access.redhat.com/errata/RHSA-2018:3730
- https://access.redhat.com/errata/RHSA-2018:3731
- https://access.redhat.com/errata/RHSA-2019:2028
- http://www.securitytracker.com/id/1042106
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-16396
- https://usn.ubuntu.com/3808-1/