CVE-2022-41920: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.
References
- github.com/advisories/GHSA-pp3f-xrw5-q5j4
- github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572
- github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9
- github.com/duke-git/lancet/issues/62
- github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4
- nvd.nist.gov/vuln/detail/CVE-2022-41920
- pkg.go.dev/vuln/GO-2022-1114
Detect and mitigate CVE-2022-41920 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →