### [CVE-2017-5946](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5946) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability. If a site allows uploading of .zip files, an attacker can upload a malicious file that uses "../" pathname substrings to write arbitrary files to the filesystem. ### POC #### Reference - https://github.com/rubyzip/rubyzip/issues/315 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/innoq/security_report