Upstream information

CVE-2017-5946 at MITRE

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.

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
SUSE Bugzilla entry: 1027050 [RESOLVED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Leap 42.2
  • ruby2.1-rubygem-rubyzip >= 1.1.7-5.3.1
  • ruby2.1-rubygem-rubyzip-doc >= 1.1.7-5.3.1
  • ruby2.1-rubygem-rubyzip-testsuite >= 1.1.7-5.3.1
  • rubygem-rubyzip >= 1.1.7-5.3.1
Patchnames:
openSUSE-2017-900
openSUSE Leap 42.3
  • ruby2.1-rubygem-rubyzip >= 1.1.7-8.1
  • ruby2.1-rubygem-rubyzip-doc >= 1.1.7-8.1
  • ruby2.1-rubygem-rubyzip-testsuite >= 1.1.7-8.1
  • ruby2.2-rubygem-rubyzip >= 1.1.7-8.1
  • ruby2.2-rubygem-rubyzip-doc >= 1.1.7-8.1
  • ruby2.2-rubygem-rubyzip-testsuite >= 1.1.7-8.1
  • ruby2.3-rubygem-rubyzip >= 1.1.7-8.1
  • ruby2.3-rubygem-rubyzip-doc >= 1.1.7-8.1
  • ruby2.3-rubygem-rubyzip-testsuite >= 1.1.7-8.1
  • ruby2.4-rubygem-rubyzip >= 1.1.7-8.1
  • ruby2.4-rubygem-rubyzip-doc >= 1.1.7-8.1
  • ruby2.4-rubygem-rubyzip-testsuite >= 1.1.7-8.1
  • rubygem-rubyzip >= 1.1.7-8.1
Patchnames:
openSUSE-2017-900