CVE-2017-17831: GO-2021-0073 - Arbitrary command execution in github.com/git-lfs/git-lfs

CVE-2017-17831 · Severity: low · CVSS 3 · Published 2021-04-14

Arbitrary command execution in github.com/git-lfs/git-lfs

Technologies: github.com/git-lfs/git-lfs (Go). Vendors: Go.

Quick answers

Is CVE-2017-17831 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-17831 being exploited in the wild.
How severe is CVE-2017-17831?
Low severity, with a CVSS score of 3, published 14 April 2021.
Which products and versions are affected?
github.com/git-lfs/git-lfs (Go) SEMVER:introduced=0,fixed=2.1.1-0.20170519163204-f913f5f9c7c6, SEMVER:introduced=0,fixed=2.1.1-0.20170519163204-f913f5f9c7c6+incompatible.
Is there a fix for CVE-2017-17831?
Yes. github.com/git-lfs/git-lfs (Go): upgrade to 2.1.1-0.20170519163204-f913f5f9c7c6, 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-17831?
Check whether you run github.com/git-lfs/git-lfs (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/git-lfs/git-lfs (Go): upgrade to 2.1.1-0.20170519163204-f913f5f9c7c6, 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible or later
    go get github.com/git-lfs/git-lfs@v2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Affected products

  • github.com/git-lfs/git-lfs (Go) SEMVER:introduced=0,fixed=2.1.1-0.20170519163204-f913f5f9c7c6, SEMVER:introduced=0,fixed=2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Identifiers

  • CVE-2017-17831
  • GHSA-w4xh-w33p-4v29
  • GO-2021-0073

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.