GO-2021-0073

Source
https://pkg.go.dev/vuln/GO-2021-0073
Import Source
https://vuln.go.dev/ID/GO-2021-0073.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0073
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-06-03T20:51:31Z
Summary
Arbitrary command execution in github.com/git-lfs/git-lfs
Details

Arbitrary command execution can be triggered by improperly sanitized SSH URLs in LFS configuration files. This can be triggered by cloning a malicious repository.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0073"
}
References

Affected packages

Go / github.com/git-lfs/git-lfs

Package

Name
github.com/git-lfs/git-lfs
View open source insights on deps.dev
Purl
pkg:golang/github.com/git-lfs/git-lfs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/git-lfs/git-lfs/lfsapi",
            "symbols": [
                "Client.NewRequest",
                "sshAuthClient.Resolve",
                "sshCache.Resolve",
                "sshGetLFSExeAndArgs"
            ]
        }
    ]
}