CVE-2017-5946

Source
https://cve.org/CVERecord?id=CVE-2017-5946
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5946.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-5946
Aliases
Downstream
Related
Published
2017-02-27T07:59:00.317Z
Modified
2026-05-18T05:49:39.692277118Z
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 CVSS Calculator
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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "8.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "vendor_product": "debian:debian_linux",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/rubyzip/rubyzip

Affected ranges

Type
GIT
Repo
https://github.com/rubyzip/rubyzip
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.2.1"
        }
    ],
    "cpe": "cpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:ruby:*:*",
    "source": "CPE_FIELD"
}

Affected versions

0.*
0.9.5
0.9.7
0.9.9
v1.*
v1.0.0
v1.0.0.beta1
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.1.7
v1.2.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5946.json"