GitHub Advisory Database
GHSA-pp3f-xrw5-q5j4
Lancet vulnerable to path traversal when unzipping files
Details
Impact
_What kind of vulnerability is it? Who is impacted?_
ZipSlip issue when use fileutil package to unzip files.
Patches
_Has the problem been patched? What versions should users upgrade to?_
It will fixed in v2.1.10, Please upgrade version to v2.1.10 or above. Users who use v1.x.x should upgrade v1.3.4 or above.
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
No, users have to upgrade version.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/duke-git/lancet/v2 | From 2.0.0 before 2.1.10 (fixed in 2.1.10) |
| Go | github.com/duke-git/lancet | All versions before 1.3.4 (fixed in 1.3.4) |
References
- https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4
- https://nvd.nist.gov/vuln/detail/CVE-2022-41920
- https://github.com/duke-git/lancet/issues/62
- https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572
- https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9
- https://github.com/duke-git/lancet
- https://pkg.go.dev/vuln/GO-2022-1114