Directory Traversal The advisory has been revoked - it doesn't affect any version of package ruby-zip  (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 IDSNYK-UBUNTU1910-RUBYZIP-655736
  • published27 Feb 2017
  • disclosed27 Feb 2017

Introduced: 27 Feb 2017

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

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:19.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-zip package and not the ruby-zip package as distributed by Ubuntu.

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.