CVE-2022-41920Lancet Project Lancet
High 8.8 No auth needed
Follow: this CVE · Lancet Project · Lancet Project Lancet We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Nov 17, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lancet.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/duke-git/lancet |
< 1.3.4 |
1.3.4 |
go get github.com/duke-git/lancet@v1.3.4 |
| Go | github.com/duke-git/lancet |
< 1.3.4 |
1.3.4 |
go get github.com/duke-git/lancet@v1.3.4 |
| Go | github.com/duke-git/lancet/v2 |
≥ 2.0.0 < 2.1.10 |
2.1.10 |
go get github.com/duke-git/lancet/v2@v2.1.10 |
| Go | github.com/duke-git/lancet/v2 |
≥ 2.0.0 < 2.1.10 |
2.1.10 |
go get github.com/duke-git/lancet/v2@v2.1.10 |
Per OSV / GitHub Advisories (GHSA-pp3f-xrw5-q5j4, GO-2022-1114). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lancet_project | lancet | < 1.3.4 |
| lancet_project | lancet | ≥ 2.0.0 < 2.1.10 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Exploit Third Party Advisory