CVE-2017-5946

Source
https://cve.org/CVERecord?id=CVE-2017-5946
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5946.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-5946
Aliases
Downstream
Related
Published
2017-02-27T07:59:00.317Z
Modified
2026-04-10T04:01:47.256768Z
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.

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
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.2.1"
        }
    ]
}

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

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5946.json"