{"id":"CVE-2022-41920","aliases":["CVE-2022-41920","GHSA-pp3f-xrw5-q5j4","GO-2022-1114"],"related":[],"kind":"vulnerability","state":"published","title":"Zip slip in Lancet","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nZipSlip issue when use fileutil package to unzip files.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nIt will fixed in v2.1.10, Please upgrade version to v2.1.10 or above.\nUsers who use v1.x.x should upgrade v1.3.4 or above.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nNo, users have to upgrade version.","format":"markdown","source":"ghsa"},{"lang":"en","text":"A ZipSlip vulnerability exists when using the fileutil package to unzip files.","format":"markdown","source":"go"},{"lang":"es","text":"Lancet es una librería de utilidad general para el lenguaje de programación go. Las versiones afectadas están sujetas a un problema con Zipslip cuando usan el paquete fileutil para descomprimir archivos. Este problema se solucionó y se incluirá una solución en las versiones 2.1.10 y 1.3.4. Se recomienda a los usuarios que actualicen. No se conocen workarounds para este problema.","source":"nvd"}],"published":"2022-11-17T00:00:00.000Z","modified":"2026-06-17T05:04:03.883Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.3.4","status":"affected"},{"version":">= 2.0.0, < 2.1.10","status":"affected"}],"vendor":"duke-git","product":"lancet","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.10"}],"ecosystem":"Go","package":"github.com/duke-git/lancet/v2","purl":"pkg:golang/github.com/duke-git/lancet/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.4"}],"ecosystem":"Go","package":"github.com/duke-git/lancet","purl":"pkg:golang/github.com/duke-git/lancet","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.4"}],"ecosystem":"Go","package":"github.com/duke-git/lancet","purl":"pkg:golang/github.com/duke-git/lancet","source":"go"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.1.10"}],"ecosystem":"Go","package":"github.com/duke-git/lancet/v2","purl":"pkg:golang/github.com/duke-git/lancet/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.4"},{"status":"affected","introduced":"2.0.0","fixed":"2.1.10"}],"vendor":"lancet_project","product":"lancet","cpe":"cpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/duke-git/lancet/issues/62","tags":["issue-tracking","report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41920","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/duke-git/lancet","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1114","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-22T15:42:50.978Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41920","url":"https://www.cve.org/CVERecord?id=CVE-2022-41920","licence":"CVE Terms of Use","modified":"2025-04-22T16:07:20.445Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pp3f-xrw5-q5j4","url":"https://github.com/advisories/GHSA-pp3f-xrw5-q5j4","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:35.692Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1114","url":"https://pkg.go.dev/vuln/GO-2022-1114","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41920","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41920","licence":"Public domain","modified":"2026-06-17T05:04:03.883Z"}],"updatedAt":"2026-11-25T22:58:16.572Z","epss":{"score":0.01038,"percentile":0.64878,"date":"2026-12-01T12:00:22.000Z"}}