~ / search / GHSA-vqcq-mrmw-mcmg

GHSA-vqcq-mrmw-mcmg

Rubyzip gem contains a Directory Traversal vulnerability in zip file component

Source: GitHub Advisory Database (reviewed) Critical CVE-2018-1000544

Packages

EcosystemPackageAffectedFixed in
RubyGems rubyzip < 1.2.2 1.2.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.