Zip slip in Lancet
duke-git lancet
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/duke-git/lancet/v2 Go |
|
|
| github.com/duke-git/lancet Go |
|
|
duke-git lancet
| Product | Affected | Fixed in |
|---|---|---|
| github.com/duke-git/lancet/v2 Go |
|
|
| github.com/duke-git/lancet Go |
|
|
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.
From the CVE record · GitHub_M
Affected Lancet versions have a ZipSlip path-traversal issue in the fileutil package when unzipping files. An attacker could exploit it if an application unzips an archive they control. The input does not specify whether authentication or user interaction is required.
Check applications using Go package github.com/duke-git/lancet/v2 versions >=2.0.0 and <2.1.10, or github.com/duke-git/lancet versions <1.3.4.