ADVISORIES

Go Vulnerability Database

GO-2021-0098

Arbitrary code execution on Windows in github.com/git-lfs/git-lfs

Details

Due to the standard library behavior of exec.LookPath on Windows a number of methods may result in arbitrary code execution when cloning or operating on untrusted Git repositories.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/git-lfs/git-lfs
All versions before 1.5.1-0.20210113180018-fc664697ed2c (fixed in 1.5.1-0.20210113180018-fc664697ed2c)

References