{"id":"CVE-2022-41920","published":"2022-11-17T00:00:00Z","modified":"2025-04-22T16:07:20Z","title":"Zip slip in Lancet","vendor":"duke-git","product":"lancet","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01038,"percentile":0.6475,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4","tags":[]},{"url":"https://github.com/duke-git/lancet/issues/62","tags":[]},{"url":"https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572","tags":[]},{"url":"https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.95},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"duke-git","affectedVersions":[{"vendor":"duke-git","product":"lancet","versions":["< 1.3.4",">= 2.0.0, < 2.1.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:42:50.978547Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/duke-git/lancet/v2","vulnerableRanges":[">=2.0.0, <2.1.10"],"patched":["2.1.10"],"from":["GHSA-pp3f-xrw5-q5j4","GO-2022-1114"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/duke-git/lancet","vulnerableRanges":["<1.3.4"],"patched":["1.3.4"],"from":["GHSA-pp3f-xrw5-q5j4","GO-2022-1114"],"provenance":"source"}],"summary":{"text":"A path traversal (ZipSlip) flaw exists in the fileutil package of Lancet, a general utility library for Go, where unzipping archives is affected. An attacker who can supply a crafted zip archive for the library to extract can exploit it over the network with low complexity and no authentication, but the victim must take an action (UI interaction) to trigger the extraction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:04Z"},"euvd":{"id":"EUVD-2022-7401","exploited":false,"provenance":"source"}}