Vulnerability · Published Nov 17, 2022 · Assigned by GitHub_M
CVE-2022-41920Zip slip in Lancet
Medium 6.3
In plain English
A medium-severity path traversal in lancet from duke-git. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/duke-git/lancet | 1.3.4 | GHSA-pp3f-xrw5-q5j4 |
| Go | github.com/duke-git/lancet | 1.3.4 | GO-2022-1114 |
| Go | github.com/duke-git/lancet/v2 | 2.1.10 | GHSA-pp3f-xrw5-q5j4 |
| Go | github.com/duke-git/lancet/v2 | 2.1.10 | GO-2022-1114 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L