CVE-2022-41920 json
Zip slip in Lancet
published 2022-11-17 3 y ago modified 2026-06-17 4 mo ago also GHSA-pp3f-xrw5-q5j4 , GO-2022-1114 , EUVD-2022-7401
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/duke-git/lancet/v2 2.1.10
- go github.com/duke-git/lancet 1.3.4
- lancet_project lancet 1.3.4, 2.1.10
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/duke-git/lancet/v2 | >=2.0.0, <2.1.10 |
2.1.10 |
| go | github.com/duke-git/lancet | <1.3.4 |
1.3.4 |
Affected products
- duke-git lancet
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572
web, patch, third-party-advisory
-
github.com
/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9
web, patch, third-party-advisory
-
github.com
/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4
web, exploit, third-party-advisory
-
github.com
/duke-git/lancet/issues/62
web, issue-tracking, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2022-41920
advisory
-
github.com
/duke-git/lancet
package
-
pkg.go.dev
/vuln/GO-2022-1114
web
Sources
- CVE List CVE-2022-41920
- GitHub Advisory GHSA-pp3f-xrw5-q5j4
- NVD CVE-2022-41920
- OSV GO-2022-1114
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.