{"id":"CVE-2022-41920","aliases":["EUVD-2022-7401","GHSA-pp3f-xrw5-q5j4","GO-2022-1114"],"status":"published","title":"Zip slip in Lancet","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.","severity":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00864,"percentile":0.58872,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-11-17T00:00:00Z","modified":"2026-10-28T02:30:30Z","fixes":[{"ecosystem":"Go","package":"github.com/duke-git/lancet/v2","fixed_in":["2.1.10"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/duke-git/lancet","fixed_in":["1.3.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/duke-git/lancet/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.10"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/duke-git/lancet","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/duke-git/lancet/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.10"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/duke-git/lancet","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/duke-git/lancet","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/duke-git/lancet/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.10"}]}]}],"products":[{"vendor":"duke-git","product":"lancet"},{"vendor":"lancet_project","product":"lancet"}],"references":[{"url":"https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4","tags":["x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/duke-git/lancet/issues/62","tags":["x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41920","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1114","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pp3f-xrw5-q5j4"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41920.json","tags":["advisory"]},{"url":"https://github.com/duke-git/lancet","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-41920","title":"Zip slip in Lancet","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.","status":"published","published":"2022-11-17T00:00:00Z","modified":"2025-04-22T16:07:20.445Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:28.038197Z"}],"euvd":[{"id":"EUVD-2022-7401","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.","status":"published","published":"2022-11-17T00:00:00Z","modified":"2025-04-22T16:07:20Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:16.784071Z"}],"ghsa":[{"id":"GHSA-pp3f-xrw5-q5j4","title":"Lancet vulnerable to path traversal when unzipping files","description":"### 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.","status":"published","published":"2022-11-21T22:31:31Z","modified":"2023-08-29T19:39:55Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:01.345964Z"}],"nvd":[{"id":"CVE-2022-41920","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.","status":"published","published":"2022-11-17T18:15:10.1Z","modified":"2026-06-17T05:04:03.883Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:32.395456Z"}],"osv":[{"id":"CVE-2022-41920","title":"Zip slip in Lancet","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.","status":"published","published":"2022-11-17T00:00:00Z","modified":"2026-10-28T02:30:30.856916579Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:27.186787Z"},{"id":"GHSA-pp3f-xrw5-q5j4","title":"Lancet vulnerable to path traversal when unzipping files","description":"### 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.","status":"published","published":"2022-11-21T22:31:31Z","modified":"2023-11-08T04:10:35.692001Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:53.244788Z"},{"id":"GO-2022-1114","title":"ZipSlip when unzipping files in github.com/duke-git/lancet","description":"A ZipSlip vulnerability exists when using the fileutil package to unzip files.","status":"published","published":"2022-12-07T18:39:23Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
