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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-04-03T22:00:00

Updated: 2024-08-05T07:02:26.043Z

Reserved: 2018-03-19T00:00:00

Link: CVE-2018-8780

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-04-03T22:29:00.947

Modified: 2024-11-21T04:14:17.963

Link: CVE-2018-8780

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-03-28T00:00:00Z

Links: CVE-2018-8780 - Bugzilla