Skip to content
OpenAdvisories
High · 8.8 CVE-2017-17831 EUVD-2022-5497GHSA-w4xh-w33p-4v29GO-2021-0073

GitHub Git LFS Arbitrary command execution vulnerability

Published Dec 21, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/git-lfs/git-lfs < 2.1.1-0.20170519163204-f913f5f9c7c6 2.1.1-0.20170519163204-f913f5f9c7c6 GHSA-w4xh-w33p-4v29
Go github.com/git-lfs/git-lfs < 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible GO-2021-0073

References