CVE-2017-5946

critical

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.

References

https://github.com/rubyzip/rubyzip/releases

https://github.com/rubyzip/rubyzip/issues/315

http://www.securityfocus.com/bid/96445

http://www.debian.org/security/2017/dsa-3801

Details

Source: Mitre, NVD

Published: 2017-02-27

Updated: 2020-05-14

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical