{"id":"GHSA-vqcq-mrmw-mcmg","summary":"Rubyzip gem contains a Directory Traversal vulnerability in zip file component","details":"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..\n\nThis is similar to CVE-2017-5946 which was patched in 1.2.1 but the fix in that case was incomplete.","aliases":["CVE-2018-1000544"],"modified":"2023-11-01T05:18:57.551710Z","published":"2018-09-06T03:27:18Z","database_specific":{"cwe_ids":["CWE-434","CWE-59"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:58:07Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000544"},{"type":"WEB","url":"https://github.com/rubyzip/rubyzip/issues/369"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:3466"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2018-1000544.yml"},{"type":"PACKAGE","url":"https://github.com/rubyzip/rubyzip"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html"}],"affected":[{"package":{"name":"rubyzip","ecosystem":"RubyGems","purl":"pkg:gem/rubyzip"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2"}]}],"versions":["0.5.11","0.5.12","0.5.7","0.5.8","0.5.9","0.9.1","0.9.4","0.9.5","0.9.6.1","0.9.7","0.9.8","0.9.9","1.0.0","1.0.0.beta1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.7","1.2.0","1.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-vqcq-mrmw-mcmg/GHSA-vqcq-mrmw-mcmg.json","last_known_affected_version_range":"\u003c= 1.2.1"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}