CVE-2017-5946
ruby-zip - security update
9.8
CRITICAL
CVSS 3.1
EPSS 3.5%
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.
How to fix CVE-2017-5946
To remediate CVE-2017-5946, upgrade the affected package to a fixed version below.
- Debian/libzip-ruby—upgrade to 0.9.4-1+deb7u1 or later
- —upgrade to 1.2.0-1.1 or later
- —upgrade to 1.1.6-1+deb8u1 or later
- —upgrade to 1.2.1 or later
Is CVE-2017-5946 being exploited?
Low — EPSS is 3.5%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 0.9.4-1+deb7u1
- from 0, < 1.2.0-1.1
- from 0, < 1.1.6-1+deb8u1
- from 0, < 1.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |