CVE-2017-5946

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRubyzip
PublishedFeb 27, 2017
First seenFeb 27, 2017

How to fix

Update
  • rubyzip_project rubyzip1.2.1 or later

Affected products

ProductAffected versionsFixed in
rubyzip_project rubyzipv < 1.2.11.2.1
debian debian_linux8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.