GHSA-vqcq-mrmw-mcmgCriticalCVSS 9.8

Rubyzip gem contains a Directory Traversal vulnerability in zip file component

Published
September 6, 2018
Last Modified
August 28, 2023

🔗 CVE IDs covered (1)

📋 Description

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..

This is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.

🎯 Affected products1

  • rubygems/rubyzip:<= 1.2.1

🔗 References (7)