Directory Traversal The advisory has been revoked - it doesn't affect any version of package rubyzip/rubyzip  (opens in a new tab)


Threat Intelligence

EPSS
3.44% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RUBYZIPRUBYZIP-2368646
  • published26 Jan 2022
  • disclosed27 Feb 2017
  • creditUnknown

Introduced: 27 Feb 2017

CVE-2017-5946  (opens in a new tab)
CWE-22  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Directory Traversal. 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.