{"cve":"CVE-2017-17831","nvd":{"published":"2017-12-21T06:29:00.243","modified":"2026-06-17T01:11:44.420","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-20"],"references":["http://blog.recurity-labs.com/2017-08-10/scm-vulns","http://www.securityfocus.com/bid/102926","https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html","https://github.com/git-lfs/git-lfs/pull/2242","https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1"],"products":["git_large_file_storage_project:git_large_file_storage"],"source":"nvd","synced_at":"2026-10-19T20:47:56.471723566+00:00"},"epss":{"cve":"CVE-2017-17831","score":0.03677,"percentile":0.89672,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w4xh-w33p-4v29","url":"https://osv.dev/vulnerability/GHSA-w4xh-w33p-4v29","summary":"GitHub Git LFS Arbitrary command execution vulnerability","modified":"2024-05-20T19:55:20Z","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"],"fixed":["2.1.1-0.20170519163204-f913f5f9c7c6"]}]},{"id":"GO-2021-0073","url":"https://osv.dev/vulnerability/GO-2021-0073","summary":"Arbitrary command execution in github.com/git-lfs/git-lfs","modified":"2024-06-03T20:51:31Z","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+incompatible"],"fixed":["2.1.1-0.20170519163204-f913f5f9c7c6+incompatible"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}