Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2018-8780 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ruby-lang ruby | < 2.2.10 >= 2.3.0, < 2.3.7 >= 2.4.0, < 2.4.4 >= 2.5.0, < 2.5.1 2.6.0 preview1 |
CPE
Remediation
| |
| canonical ubuntu linux | 14.04 16.04 17.10 |
CPE
Remediation
| |
| debian debian linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
Change History
17 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 3, 2020 | CVE Modified | [email protected] |
| Feb 25, 2020 | CVE Modified | [email protected] |
| Feb 18, 2020 | CVE Modified | [email protected] |
| Aug 6, 2019 | CVE Modified | [email protected] |
| Jul 21, 2019 | CVE Modified | [email protected] |
| Feb 28, 2019 | Modified Analysis | [email protected] |
| Nov 30, 2018 | CVE Modified | [email protected] |
| Oct 31, 2018 | CVE Modified | [email protected] |
| Aug 3, 2018 | CVE Modified | [email protected] |
| Jul 15, 2018 | CVE Modified | [email protected] |
| May 15, 2018 | Initial Analysis | [email protected] |
| Apr 25, 2018 | CVE Modified | [email protected] |
| Apr 18, 2018 | CVE Modified | [email protected] |
| Apr 16, 2018 | CVE Modified | [email protected] |