Improper Input Validation Affecting github.com/git-lfs/git-lfs/lfsapi package, versions <2.1.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.56% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGITLFSGITLFSLFSAPI-3121919
  • published18 Feb 2020
  • disclosed18 Feb 2020
  • creditUnknown

Introduced: 18 Feb 2020

CVE-2017-17831  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/git-lfs/git-lfs/lfsapi to version 2.1.1 or higher.

Overview

github.com/git-lfs/git-lfs/lfsapi is a command line extension and specification for managing large files with Git.

Affected versions of this package are vulnerable to Improper Input Validation. 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 Scores

version 3.1