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.

Critical severity All openSUSE 4Debian 3RubyGems 1Ubuntu 1

Advisories

  • 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
  • GHSA-gcqq-w6gr-h9j9

    Directory traversal vulnerability in RubyZip

    Critical CVE-2017-5946 RubyGems Updated 16 February 2024
  • UBUNTU-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 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:13168-1

    ruby3.2-rubygem-rubyzip-2.3.2-1.11 on GA media

    CVE-2017-5946CVE-2018-1000544 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14176-1

    ruby3.3-rubygem-rubyzip-2.3.2-1.15 on GA media

    CVE-2017-5946CVE-2018-1000544 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15126-1

    ruby3.4-rubygem-rubyzip-2.3.2-1.17 on GA media

    CVE-2017-5946CVE-2018-1000544 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10363-1

    ruby4.0-rubygem-rubyzip-2.3.2-1.19 on GA media

    CVE-2017-5946CVE-2018-1000544 openSUSE Updated 14 March 2026

References