CVE & CISA-KEV Catalog

CVE-2017-5946

CRITICALEPSS 88th pctl
9.8
CVSS v3
NVD

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

Remediation Available
ruby-zipDebian
Fixed in:1.2.0-1.1CVE-2017-5946
Fixed in:1.2.0-1.1CVE-2017-5946
Fixed in:1.2.0-1.1CVE-2017-5946
Fixed in:1.2.0-1.1CVE-2017-5946

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

3.47%probability of exploitation in 30 days
88thpercentile

Elevated risk: more likely to be exploited than 88% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2017-5946
CVE-2017-5946 severity badge

Markdown

[![CVE-2017-5946](https://tridentstack.com/cve/badge/CVE-2017-5946.svg)](https://tridentstack.com/cve/CVE-2017-5946)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-5946"><img src="https://tridentstack.com/cve/badge/CVE-2017-5946.svg" alt="CVE-2017-5946"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-13.