github.com/duke-git/lancet/v2
Affected
- introduced
2.0.0, fixed2.1.10(semver)
Fixed versions
2.1.10
Fix
- Fixed version
2.1.10go get github.com/duke-git/lancet/[email protected]
Advisory
Also known as: CVE-2022-41920, GO-2022-1114
Lancet vulnerable to path traversal when unzipping files
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.
High Basis: The source's own band: HIGH
2.0.0, fixed 2.1.10 (semver)2.1.10
2.1.10go get github.com/duke-git/lancet/[email protected]0, fixed 1.3.4 (semver)1.3.4
1.3.4go get github.com/duke-git/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0