Skip to main content
← All vulnerabilities
CVE-2017-5946GHSA-GCQQ-W6GR-H9J9

The Zip::File component in the rubyzip gem before 1.2.1 for Ruby has a directory traversal vulnerability.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • rubyzipRubyGems

    fixed in 1.2.1

References 4

GitHub · rubyzip/rubyzip

securityfocus.com

debian.org