CyberRota Analysis
AI-GeneratedA path traversal vulnerability exists in the is_within_directory function of unearth versions prior to 0.18.2, allowing attackers to exploit improper path normalization and bypass directory containment checks. This flaw enables the creation of malicious tar archives containing symlink members or traversal sequences, potentially allowing unauthorized file writes to arbitrary locations on the filesystem. Organizations utilizing affected versions of unearth should prioritize patching this vulnerability to mitigate the risk of unauthorized access and data manipulation.
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
unearth through 0.18.2, fixed in commit 6c78164, contains a path traversal vulnerability in the is_within_directory function that fails to normalize paths before validation, allowing ../ sequences to bypass directory containment checks. Attackers can supply malicious tar archives with symlink members or traversal sequences to write files to arbitrary filesystem locations accessible to the process.