{"id":"CVE-2017-5946","state":"PUBLISHED","title":"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 malicio","description":"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.","publishedAt":"2017-02-27T07:25:00.000Z","updatedAt":"2024-08-05T15:18:49.419Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/rubyzip/rubyzip/releases","http://www.securityfocus.com/bid/96445","https://github.com/rubyzip/rubyzip/issues/315","http://www.debian.org/security/2017/dsa-3801"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:49.051Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/5xxx/CVE-2017-5946.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-5946","state":"PUBLISHED","datePublished":"2017-02-27T07:25:00.000Z","dateUpdated":"2024-08-05T15:18:49.419Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-02-09T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/rubyzip/rubyzip/releases","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/96445","name":"96445","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/rubyzip/rubyzip/issues/315","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2017/dsa-3801","name":"DSA-3801","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-11-03T18:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-02-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5946","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/rubyzip/rubyzip/releases","refsource":"CONFIRM","url":"https://github.com/rubyzip/rubyzip/releases"},{"name":"96445","refsource":"BID","url":"http://www.securityfocus.com/bid/96445"},{"name":"https://github.com/rubyzip/rubyzip/issues/315","refsource":"CONFIRM","url":"https://github.com/rubyzip/rubyzip/issues/315"},{"name":"DSA-3801","refsource":"DEBIAN","url":"http://www.debian.org/security/2017/dsa-3801"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/rubyzip/rubyzip/releases","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/96445","name":"96445","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/rubyzip/rubyzip/issues/315","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2017/dsa-3801","name":"DSA-3801","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T15:18:49.419Z"}}]}}}