Security mailing lists by PureSourceCode

CVE-2022-41920

HIGH 8.8CVSS 3.1

Lancet vulnerable to path traversal when unzipping files

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.

Published
17 Nov 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-pp3f-xrw5-q5j4GO-2022-1114
Sources
NVDJSONOSV GHSA-pp3f-xrw5-q5j4JSONOSV GO-2022-1114JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lancet_project lancet
cpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:*
< 1.3.4 1.3.4
NVD lancet_project lancet
cpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:*
>= 2.0.0, < 2.1.10 2.1.10
OSV Go github.com/duke-git/lancet/v2 >= 2.0.0, < 2.1.10 2.1.10
OSV Go github.com/duke-git/lancet < 1.3.4 1.3.4

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Dec 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.