Vulnerability CVE-2017-5946


Published: 2017-02-27

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.

Type:

CWE-22

(Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Rubyzip -> Rubyzip 

 References:
http://www.debian.org/security/2017/dsa-3801
http://www.securityfocus.com/bid/96445
https://github.com/rubyzip/rubyzip/issues/315
https://github.com/rubyzip/rubyzip/releases

Copyright 2024, cxsecurity.com

 

Back to Top