CVE-2017-5946
CVE-2017-5946
CVSS 9.8 · Critical · EPSS 3.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- ruby-zip Debian 12Update to 1.2.0-1.1
- ruby-zip Debian 13Update to 1.2.0-1.1
- ruby-zip Debian 14Update to 1.2.0-1.1
- rubyzip RubyGemsUpdate to 1.2.1
- and 1 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-zip"'gem list --exact rubyzipAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:10363-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:15126-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14176-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:13168-1 · openSUSE Tumbleweed ·
- DLA-846-1 · Debian 7 ·
- DSA-3801-1 · Debian 8 ·
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
ruby-zip Debian 12
- Affected ranges
- ECOSYSTEM: < 1.2.0-1.1
Update to 1.2.0-1.1
ruby-zip Debian 13
- Affected ranges
- ECOSYSTEM: < 1.2.0-1.1
Update to 1.2.0-1.1
ruby-zip Debian 14
- Affected ranges
- ECOSYSTEM: < 1.2.0-1.1
Update to 1.2.0-1.1
rubyzip RubyGems
- Versions
- 0.5.11
- 0.5.12
- 0.5.7
- 0.5.8
- 0.5.9
- 0.9.1
All versions (23)
- 0.9.4
- 0.9.5
- 0.9.6.1
- 0.9.7
- 0.9.8
- 0.9.9
- 1.0.0
- 1.0.0.beta1
- 1.1.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.1.7
- 1.2.0
- Affected ranges
- ECOSYSTEM: < 1.2.1
Update to 1.2.1
ruby-zip Ubuntu 16.04 LTS
- Versions
- 1.1.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published