SB2017022704 - Path traversal in Rubyzip



SB2017022704 - Path traversal in Rubyzip

Published: February 27, 2017 Updated: July 23, 2020

Security Bulletin ID SB2017022704
Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Path traversal (CVE-ID: CVE-2017-5946)

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Remediation

Install update from vendor's website.