PT-2018-9440 · Ruby · Rubyzip
Tuzovakaoff
·
Published
2018-06-26
·
Updated
2026-03-13
·
CVE-2018-1000544
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
rubyzip versions 1.2.1 and earlier
Description
The rubyzip gem contains a Directory Traversal issue in the Zip::File component, allowing an attacker to write arbitrary files to the filesystem. This can be exploited if a site allows uploading of .zip files, and an attacker uploads a malicious file containing symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem.
Recommendations
For rubyzip versions 1.2.1 and earlier, at the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Link Following
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Rubyzip