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
Open Resty Off-by-one Error Vulnerability (CVE-2021-23017)
osCommerce Other Vulnerability (CVE-2004-2638)
OpenSSL Resource Management Errors Vulnerability (CVE-2015-1788)
phpMyAdmin Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-8669)
WordPress Plugin Contact Form by BestWebSoft Cross-Site Scripting (3.34)