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, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
No history.
Information
Published : 2018-04-03 22:29
Updated : 2019-07-21 12:15
NVD link : CVE-2018-8780
Mitre link : CVE-2018-8780
CVE.ORG link : CVE-2018-8780
JSON object : View
Products Affected
debian
- debian_linux
ruby-lang
- ruby
canonical
- ubuntu_linux
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')