
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2020-7669) affects all versions of the package github.com/u-root/u-root/pkg/tarutil. The package is vulnerable to both leading and non-leading relative path traversal attacks in tar file extraction, which could allow attackers to write files outside of the intended directory (Snyk).
The vulnerability occurs when a specially crafted tar archive containing path traversal filenames (using '../' sequences) is processed. When the filename is concatenated with the target extraction directory, the final path can end up outside of the target folder. This can be exploited using both leading and non-leading relative path traversal attacks (Snyk).
If successfully exploited, this vulnerability allows attackers to write files to arbitrary locations outside the intended directory. If an executable or configuration file is overwritten with malicious code, this could potentially lead to arbitrary code execution (Snyk).
The vulnerability has a proof-of-concept exploit available. It can be triggered by creating a tar archive that includes files with filepaths using leading or non-leading '../' sequences. The EPSS score indicates a 0.13% (50th percentile) probability of exploitation in the wild (Snyk).
The recommended mitigation is to upgrade github.com/u-root/u-root/pkg/tarutil to version 0.9.0 or higher. The fix involves modifying the path handling to prevent directory traversal by using filepath.Join with a root path (Snyk, GitHub PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."