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.
Remediation
References
Related Vulnerabilities
SharePoint CVE-2021-40484 Vulnerability (CVE-2021-40484)
MySQL CVE-2024-20971 Vulnerability (CVE-2024-20971)
AbanteCart Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2022-26521)
Apache Tomcat Credentials Management Errors Vulnerability (CVE-2009-3548)
MongoDb Improper Authentication Vulnerability (CVE-2014-8180)