CyberRota Analysis
AI-GeneratedVersions of rubyzip prior to 3.4.0 are vulnerable to a path traversal flaw in the Zip::Entry#extract method, allowing attackers to exploit improper validation of extraction paths. This vulnerability enables the extraction of files to unintended directories, potentially leading to unauthorized file access or system compromise. Organizations using affected versions should prioritize patching to mitigate the risk of exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.