First published: Tue Jun 19 2018(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/rubyzip | <1.2.2 | 1.2.2 |
Rubyzip Project Rubyzip | <=1.2.1 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Redhat Cloudforms | =4.6 | |
rubygems/rubyzip | <=1.2.1 | 1.2.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-1000544 is a Directory Traversal vulnerability in the rubyzip gem, specifically in the Zip::File component.
CVE-2018-1000544 has a severity score of 9.8, which is considered critical.
CVE-2018-1000544 can be exploited if a site allows uploading of .zip files. An attacker can upload a malicious file that can lead to arbitrary file write on the filesystem.
Versions 1.2.1 and earlier of the rubyzip gem are affected by CVE-2018-1000544.
To fix CVE-2018-1000544, update the rubyzip gem to version 1.2.2 or higher.