Directory Traversal Affecting ruby2.5-devel-extra package, versions <2.5.5-4.3.1
Threat Intelligence
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-SLES150-RUBY25DEVELEXTRA-2745192
- published 14 Apr 2022
- disclosed 10 Jul 2019
Introduced: 10 Jul 2019
CVE-2018-6914 Open this link in a new tabHow to fix?
Upgrade SLES:15.0 ruby2.5-devel-extra to version 2.5.5-4.3.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby2.5-devel-extra package and not the ruby2.5-devel-extra package as distributed by SLES.
See How to fix? for SLES:15.0 relevant fixed versions and status.
Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 might allow attackers to create arbitrary directories or files via a .. (dot dot) in the prefix argument.
References
- https://www.suse.com/security/cve/CVE-2018-6914.html
- https://bugzilla.suse.com/1087441
- https://bugzilla.suse.com/1136906
- https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
- http://www.securityfocus.com/bid/103686
- https://usn.ubuntu.com/3626-1/
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.debian.org/security/2018/dsa-4259
- http://www.securitytracker.com/id/1042004
- https://access.redhat.com/errata/RHSA-2018:3731
- https://access.redhat.com/errata/RHSA-2018:3730
- https://access.redhat.com/errata/RHSA-2018:3729
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://access.redhat.com/errata/RHSA-2019:2028