CVE-2017-17831

Summary

CVECVE-2017-17831
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-12-21 06:29:00 UTC
Updated2025-04-20 01:37:25 UTC
DescriptionGitHub 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.

Risk And Classification

Primary CVSS: v3.0 8.8 HIGH from [email protected]

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.007240000 probability, percentile 0.727630000 (date 2026-05-19)

Problem Types: CWE-20 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary8.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.8AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Git Large File Storage Project Git Large File Storage All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Backport #2241 for v2.1.x: sanitize ssh options parsed from ssh:// url by ttaylorr · Pull Request #2242 · git-lfs/git-lfs · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
Compromise On Checkout - Vulnerabilities in SCM Tools · The Recurity Lablog af854a3a-2127-422b-91ae-364da2661108 blog.recurity-labs.com Exploit, Third Party Advisory
Atlassian SourceTree Multiple Command Injection and Command Execution Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory, VDB Entry
Sourcetree Security Advisory 2018-01-24 - Atlassian Documentation af854a3a-2127-422b-91ae-364da2661108 confluence.atlassian.com Third Party Advisory
Release v2.1.1 · git-lfs/git-lfs · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Release Notes, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report