All reports
Critical

Directory traversal vulnerability in RubyZip

Affected versions

RubyGemsrubyzip
Affected versions
< 1.2.1
Fixed version
1.2.1

Exploitation

CVE-2017-5946

Probability of exploitation in the next 30 days: 3.44%

FIRST EPSS · 2026-11-24

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.

Links

Credits

  • tdunlap607