{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-02-27T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-11-03T18:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/rubyzip/rubyzip/releases"},{"name":"96445","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/96445"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/rubyzip/rubyzip/issues/315"},{"name":"DSA-3801","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2017/dsa-3801"}],"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":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-05T15:18:49.419Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/rubyzip/rubyzip/releases"},{"name":"96445","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/96445"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/rubyzip/rubyzip/issues/315"},{"name":"DSA-3801","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2017/dsa-3801"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-5946","datePublished":"2017-02-27T07:25:00.000Z","dateReserved":"2017-02-09T00:00:00.000Z","dateUpdated":"2024-08-05T15:18:49.419Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}