CRITICAL 9.8 RubyGems

Directory traversal vulnerability in RubyZip

GHSA-gcqq-w6gr-h9j9 · CVE-2017-5946

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes