{"schemaVersion":3,"id":"CVE-2017-17831","aliases":["UBUNTU-CVE-2017-17831","GHSA-w4xh-w33p-4v29","GO-2021-0073"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-12-21T06:00:00.000Z","modified":"2024-08-05T21:06:48.301Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Go","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.03677,"percentile":0.89552,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03677},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03677,"percentile":0.89552}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03542,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03677,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03677,"percentile":0.89552}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0D96E2C1F9744B6B","name":"Exploit Reference (blog.recurity-labs.com)","source":"reference","url":"http://blog.recurity-labs.com/2017-08-10/scm-vulns","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"ubuntu","product":"git-lfs","name":"git-lfs","label":"git-lfs","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/git-lfs","purlType":"deb","versions":[{"text":"< 2.3.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.4-1","eol":null,"hubHref":null},{"vendor":"git_large_file_storage_project","product":"git_large_file_storage","name":"git large file storage","label":"git_large_file_storage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.1","eol":null,"hubHref":"/vendor/git_large_file_storage_project/git_large_file_storage"},{"vendor":"github.com/git-lfs","product":"git-lfs","name":"github.com/git-lfs/git-lfs","label":"git-lfs","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/git-lfs/git-lfs","purlType":"golang","versions":[{"text":"< 2.1.1-0.20170519163204-f913f5f9c7c6","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.1-0.20170519163204-f913f5f9c7c6 | < 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1","label":"github.com/git-lfs/git-lfs/releases/tag/v2.1.1","hostname":"github.com","tags":["X Refsource MISC","Release Notes","Third Party Advisory","REPORT","WEB"]},{"url":"http://blog.recurity-labs.com/2017-08-10/scm-vulns","label":"blog.recurity-labs.com/2017-08-10/scm-vulns","hostname":"blog.recurity-labs.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT","WEB"]},{"url":"http://www.securityfocus.com/bid/102926","label":"www.securityfocus.com/bid/102926","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"https://github.com/git-lfs/git-lfs/pull/2242","label":"github.com/git-lfs/git-lfs/pull/2242","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory","REPORT","WEB"]},{"url":"https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html","label":"confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html","hostname":"confluence.atlassian.com","tags":["X Refsource CONFIRM","Third Party Advisory","WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-17831","label":"ubuntu.com/security/CVE-2017-17831","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-17831","label":"www.cve.org/CVERecord?id=CVE-2017-17831","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17831","label":"nvd.nist.gov/vuln/detail/CVE-2017-17831","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/git-lfs/git-lfs/pull/2241","label":"github.com/git-lfs/git-lfs/pull/2241","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19","label":"github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/git-lfs/git-lfs","label":"github.com/git-lfs/git-lfs","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0073","label":"pkg.go.dev/vuln/GO-2021-0073","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926","label":"web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926","hostname":"web.archive.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-12-21T06:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T21:06:48.301Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T20:11:05.915Z","stale":false,"partial":false}}