blob: 050358c8640ea3b24078da4e5e6b8406c5d21ec1 [file] [log] [blame]
{
"id": "GO-2021-0098",
"published": "2021-04-14T20:04:52Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2021-21237",
"GHSA-cx3w-xqmc-84g5"
],
"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": [
{
"package": {
"name": "github.com/git-lfs/git-lfs",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.1-0.20210113180018-fc664697ed2c"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0098"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/git-lfs/git-lfs/commands",
"goos": [
"windows"
],
"symbols": [
"PipeCommand"
]
},
{
"path": "github.com/git-lfs/git-lfs/creds",
"goos": [
"windows"
],
"symbols": [
"AskPassCredentialHelper.getFromProgram",
"commandCredentialHelper.Approve"
]
},
{
"path": "github.com/git-lfs/git-lfs/lfs",
"goos": [
"windows"
],
"symbols": [
"pipeExtensions"
]
},
{
"path": "github.com/git-lfs/git-lfs/lfshttp",
"goos": [
"windows"
],
"symbols": [
"sshAuthClient.Resolve"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a"
}
],
"credits": [
{
"name": "@Ry0taK"
}
],
"schema_version": "1.3.1"
}