Link Following Affecting ruby-zip package, versions <1.2.1-1.1~build0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.41% (91st 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-UBUNTU1804-RUBYZIP-276255
  • published26 Jun 2018
  • disclosed26 Jun 2018

Introduced: 26 Jun 2018

CVE-2018-1000544  (opens in a new tab)
CWE-59  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ruby-zip to version 1.2.1-1.1~build0.18.04.1 or higher.

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. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem..

CVSS Base Scores

version 3.1