High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-17831
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-17831
Complete source record
{
"id": "69d0e399971086389d6731e75ead1421d8b4736ab9567844bc9ad044d70d8404",
"url": "https://osv.dev/vulnerability/CVE-2017-17831",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-17831",
"summary": "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.",
"evidence": "osv:CVE-2017-17831",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-17831",
"aliases": [
"CVE-2017-17831",
"GHSA-w4xh-w33p-4v29",
"GO-2021-0073"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/git-lfs/git-lfs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3314e2878fcc3224774a96b78183e111fbd8ac5b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3314e2878fcc3224774a96b78183e111fbd8ac5b"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.1.1"
}
]
}
}
],
"versions": [
"v2.1.0",
"v2.0.2-rc1",
"v2.0.0",
"v1.5.0",
"v1.4.3",
"v1.4.4",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.1",
"v1.3.0",
"v1.2.0",
"v1.1.1-pre-push-tracing",
"v1.1.1",
"v1.1.0",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.6.0",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.1-tracing",
"v0.5.0",
"v0.5.0.pre1",
"v0.4.1",
"v0.4.0",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.1-p1",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17831.json"
}
}
],
"modified": "2026-10-20T10:47:49.134391092Z",
"provider": "osv",
"references": [
"https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html",
"https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1",
"https://github.com/git-lfs/git-lfs/pull/2242"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-17831",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379744,
"published_at": "2017-12-21T06:29:00.243+00:00"
}