VDB
Sign up
—

GO-2022-1114

ZipSlip when unzipping files in github.com/duke-git/lancet

Quick fix

GO-2022-1114 — github.com/duke-git/lancet: upgrade to the fixed version with the command below.

go get github.com/duke-git/lancet@v1.3.4

Details

A ZipSlip vulnerability exists when using the fileutil package to unzip files.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/duke-git/lancet
Introduced in: 0Fixed in: 1.3.4
Fixgo get github.com/duke-git/lancet@v1.3.4
Go/github.com/duke-git/lancet/v2
Introduced in: 2.0.0Fixed in: 2.1.10
Fixgo get github.com/duke-git/lancet/v2@v2.1.10

References