Vulnerability · Published Nov 17, 2022 · Assigned by GitHub_M

CVE-2022-41920Zip slip in Lancet

Medium 6.3

In plain English

A medium-severity path traversal in lancet from duke-git. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.9%top 41.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/duke-git/lancet1.3.4GHSA-pp3f-xrw5-q5j4
Gogithub.com/duke-git/lancet1.3.4GO-2022-1114
Gogithub.com/duke-git/lancet/v22.1.10GHSA-pp3f-xrw5-q5j4
Gogithub.com/duke-git/lancet/v22.1.10GO-2022-1114

Affected products (as reported)

VendorProductVersions
duke-git lancet < 1.3.4>= 2.0.0, < 2.1.10

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

References