{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-17831","id":"CVE-2017-17831","title":"GitHub Git LFS Arbitrary command execution vulnerability","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.","descriptionLong":"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.","published":"2017-12-21T06:00:00.000Z","updated":"2026-10-20T10:47:49.134391092Z","reserved":"2017-12-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/git-lfs/git-lfs","purl":"pkg:golang/github.com/git-lfs/git-lfs","ranges":["<2.1.1-0.20170519163204-f913f5f9c7c6","<2.1.1-0.20170519163204-f913f5f9c7c6+incompatible"],"fixed":["2.1.1-0.20170519163204-f913f5f9c7c6","2.1.1-0.20170519163204-f913f5f9c7c6+incompatible"],"advisory":"GHSA-w4xh-w33p-4v29"}],"cwes":["CWE-20"],"aliases":["GHSA-w4xh-w33p-4v29","GO-2021-0073"],"references":[{"url":"https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"http://blog.recurity-labs.com/2017-08-10/scm-vulns","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"http://www.securityfocus.com/bid/102926","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/git-lfs/git-lfs/pull/2242","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17831","tags":["advisory"]},{"url":"https://github.com/git-lfs/git-lfs/pull/2241","tags":["web","fix"]},{"url":"https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19","tags":["web","fix"]},{"url":"https://github.com/git-lfs/git-lfs","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0073","tags":["web"]},{"url":"https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03677,"epssPercentile":0.89891,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-17831","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17831","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-17831","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w4xh-w33p-4v29","ok":true,"note":"GHSA-w4xh-w33p-4v29"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-17831","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}