GitHub Advisoryadvisory · Go

GHSA-pp3f-xrw5-q5j4 Lancet vulnerable to path traversal when unzipping files

HIGH Published 2022-11-21 Modified 2023-08-29 Official page ↗
Aliases
CVE-2022-41920
Ecosystem
Go
Packages
github.com/duke-git/lancet/v2, github.com/duke-git/lancet
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2022-11-21

Affected packages

• Go github.com/duke-git/lancet/v2: >= 2.0.0, < 2.1.10 → fixed in 2.1.10 • Go github.com/duke-git/lancet: < 1.3.4 → fixed in 1.3.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-41920 Lancet is a general utility library for the go programming language. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References