UBUNTU-CVE-2017-5946

Source
https://ubuntu.com/security/CVE-2017-5946
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5946.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-5946
Upstream
Downstream
Related
Published
2017-02-27T07:59:00Z
Modified
2026-12-02T15:16:06Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Source: NVD) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/ubuntu/ruby-zip?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.7-1ubuntu0.1~esm1

Affected versions

1.*
1.1.7-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ruby-zip",
            "binary_version":  "1.1.7-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5946.json"