
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-41920 is a high-severity ZipSlip vulnerability affecting the fileutil package in github.com/duke-git/lancet library versions <=v2.1.9, >=v2.0.0, and <=v1.3.3. The vulnerability was discovered and reported in November 2022 (GitHub Advisory).
The vulnerability exists in the UnZip function of the fileutil package, where improper validation of file paths during archive extraction could allow path traversal. An attacker could craft a malicious zip file containing files with paths that traverse outside the intended extraction directory using relative path patterns like '../../../../' (GitHub Advisory).
If exploited, this vulnerability could allow an attacker to overwrite arbitrary files on the system by extracting maliciously crafted zip archives. This could lead to system compromise through overwriting critical files outside the intended extraction directory (GitHub Advisory).
The vulnerability has been patched in versions v2.1.10 and above for v2.x users, and v1.3.4 and above for v1.x users. No workarounds are available - users must upgrade to the patched versions. The fix implements proper path validation through a new safeFilepathJoin function that prevents path traversal (GitHub Advisory).
The vulnerability was responsibly disclosed through GitHub's security advisory process. The maintainers responded by quickly implementing and releasing patches after the report (GitHub Issue).
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."