Live threats

All CVEs / Lancet Project

CVE-2022-41920Lancet Project Lancet

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Nov 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lancet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/duke-git/lancet < 1.3.4 1.3.4 go get github.com/duke-git/lancet@v1.3.4
Go github.com/duke-git/lancet < 1.3.4 1.3.4 go get github.com/duke-git/lancet@v1.3.4
Go github.com/duke-git/lancet/v2 ≥ 2.0.0 < 2.1.10 2.1.10 go get github.com/duke-git/lancet/v2@v2.1.10
Go github.com/duke-git/lancet/v2 ≥ 2.0.0 < 2.1.10 2.1.10 go get github.com/duke-git/lancet/v2@v2.1.10

Per OSV / GitHub Advisories (GHSA-pp3f-xrw5-q5j4, GO-2022-1114). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lancet_projectlancet< 1.3.4
lancet_projectlancet≥ 2.0.0 < 2.1.10

Official sources

References

Links published by the sources. Open them with care.