What’s Vulnerable › Vulnerabilities

CVE-2017-5946

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.

Affected products

How to fix

Upgrade to a fixed version: Rubyzip Project Rubyzip 1.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2017-5946 or the next vulnerability affects your stack