ADVISORIES

Vulnerability

CVE-2017-5946

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.

9 advisories report this vulnerability, across 4 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2017-5946

    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…

    CVE-2017-5946 Debian Updated 1 September 2026
  • DLA-846-1

    libzip-ruby - security update

    CVE-2017-5946 Debian Updated 20 November 2026
  • DSA-3801-1

    ruby-zip - security update

    CVE-2017-5946 Debian Updated 20 November 2026

References