CVE-2017-5946

Source
https://nvd.nist.gov/vuln/detail/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
Related
Published
2017-02-27T07:59:00Z
Modified
2024-09-18T02:49:51.712032Z
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

Debian:11 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.0-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.0-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-zip

Package

Name
ruby-zip
Purl
pkg:deb/debian/ruby-zip?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.0-1.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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

Affected versions

0.*

0.9.5
0.9.7
0.9.8
0.9.9

Other

show

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