CVE-2022-41920
HIGH 8.8CVSS 3.1Lancet vulnerable to path traversal when unzipping files
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.
- Published
- 17 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-pp3f-xrw5-q5j4GO-2022-1114
- Sources
- NVDJSONOSV GHSA-pp3f-xrw5-q5j4JSONOSV GO-2022-1114JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lancet_project | lancetcpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:* |
< 1.3.4 | 1.3.4 |
| NVD | lancet_project | lancetcpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:* |
>= 2.0.0, < 2.1.10 | 2.1.10 |
| OSV | Go | github.com/duke-git/lancet/v2 | >= 2.0.0, < 2.1.10 | 2.1.10 |
| OSV | Go | github.com/duke-git/lancet | < 1.3.4 | 1.3.4 |
References
- https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/duke-git/lancet/issues/62 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41920 · ADVISORY
- https://github.com/duke-git/lancet · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-1114 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Dec 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2022)