{"cve":"CVE-2022-41920","nvd":{"published":"2022-11-17T18:15:10.100","modified":"2026-06-17T05:04:03.883","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572","https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9","https://github.com/duke-git/lancet/issues/62","https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4","https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572"],"products":["lancet_project:lancet"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-41920","score":0.00864,"percentile":0.58628,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pp3f-xrw5-q5j4","url":"https://osv.dev/vulnerability/GHSA-pp3f-xrw5-q5j4","summary":"Lancet vulnerable to path traversal when unzipping files","modified":"2023-11-08T04:10:35.692001Z","packages":[{"ecosystem":"Go","name":"github.com/duke-git/lancet/v2","purl":"pkg:golang/github.com/duke-git/lancet/v2","ranges":[">=2.0.0 <2.1.10"],"fixed":["2.1.10"]},{"ecosystem":"Go","name":"github.com/duke-git/lancet","purl":"pkg:golang/github.com/duke-git/lancet","ranges":["<1.3.4"],"fixed":["1.3.4"]}]},{"id":"GO-2022-1114","url":"https://osv.dev/vulnerability/GO-2022-1114","summary":"ZipSlip when unzipping files in github.com/duke-git/lancet","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/duke-git/lancet","purl":"pkg:golang/github.com/duke-git/lancet","ranges":["<1.3.4"],"fixed":["1.3.4"]},{"ecosystem":"Go","name":"github.com/duke-git/lancet/v2","purl":"pkg:golang/github.com/duke-git/lancet/v2","ranges":[">=2.0.0 <2.1.10"],"fixed":["2.1.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}