CVE-2017-5946
Rubyzip Project Rubyzip vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Rubyzip, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyzip Project Rubyzip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.debian.org/security/2017/dsa-3801 · Third Party Advisory
- www.securityfocus.com/bid/96445 · Third Party Advisory
- github.com/rubyzip/rubyzip/issues/315 · Third Party Advisory
- github.com/rubyzip/rubyzip/releases · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-5946
- cve.org/CVERecord?id=CVE-2017-5946
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.