ADVISORIES

GitHub Advisory Database

GHSA-w4xh-w33p-4v29

GitHub Git LFS Arbitrary command execution vulnerability

Details

GitHub Git LFS before 2.1.1 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, located on a url = line in a .lfsconfig file within a repository.

Specific Go Packages Affected

github.com/git-lfs/git-lfs/lfsapi

Affected packages

EcosystemPackageAffected versions
Gogithub.com/git-lfs/git-lfs
All versions before 2.1.1-0.20170519163204-f913f5f9c7c6 (fixed in 2.1.1-0.20170519163204-f913f5f9c7c6)

References