RubySec

Providing security resources for the Ruby community

CVE-2018-1000544 (rubyzip): Directory Traversal in rubyzip

ADVISORIES

GEM

rubyzip

PATCHED VERSIONS

  • >= 1.2.2

DESCRIPTION

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. If a site allows uploading of .zip files, an attacker can upload a malicious file which contains symlinks or files with absolute pathnames “../” to write arbitrary files to the filesystem.