CVE-2017-5946

rubygem-rubyzip: Directory traversal in the Zip::File component

Published Feb 27, 2017 CVSS 3.1 · 9.8 Critical EPSS 3.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-846-1 libzip-ruby security update
Debian DSA Debian DSA DSA-3801-1 ruby-zip security update
EUVD EUVD EUVD-2017-0236 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.
Github GHSA Github GHSA GHSA-gcqq-w6gr-h9j9 Directory traversal vulnerability in RubyZip
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:18 PM
Reserved
Feb 9, 2017, 12:00 AM
Status
Modified
Published
Feb 27, 2017, 7:59 AM
Modified
Jun 17, 2026, 1:21 AM
Severity
Moderate
Public date
Feb 4, 2017, 12:00 AM