CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 3.4% estimated probability of exploitation activity in the next 30 days. Fixed in rubyzip 1.2.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hrubyzip (RubyGems): fixed in 1.2.1Explain CVE-2017-5946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-5946?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-5946?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-5946 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rubyzip_project:rubyzip | before 1.2.1 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-gcqq-w6gr-h9j9 | RubyGems | rubyzip | <1.2.1 | 1.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | libzip-ruby | 0.9.4-1+deb7u1 | DLA-846-1 |
| Debian | 8 | ruby-zip | 1.1.6-1+deb8u1 | DSA-3801-1 |
| Debian | 12, 13, 14 | ruby-zip | 1.2.0-1.1 | DEBIAN-CVE-2017-5946 |
| Ubuntu | 16.04:LTS | ruby-zip | no fix listed | UBUNTU-CVE-2017-5946 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-rubyzip | 2.3.2-1.11 | openSUSE-SU-2024:13168-1 |
| openSUSE | Tumbleweed | rubygem-rubyzip | 2.3.2-1.15 | openSUSE-SU-2024:14176-1 |
| openSUSE | Tumbleweed | rubygem-rubyzip | 2.3.2-1.17 | openSUSE-SU-2025:15126-1 |
| openSUSE | Tumbleweed | rubygem-rubyzip | 2.3.2-1.19 | openSUSE-SU-2026:10363-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Moderate.
This issue affects the versions of rubygem-rubyzip as shipped with Red Hat Quick Cloud Installer. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quickstart Cloud Installer 1 | tfm-rubygem-rubyzip | Under investigation |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-5946.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.