CVE-2022-24826: Git LFS can execute a binary from the current directory on Windows

CVE-2022-24826 · Severity: low · CVSS 3.1 · Published 2022-04-22

Git LFS can execute a binary from the current directory on Windows

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

Quick answers

Is CVE-2022-24826 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-24826 being exploited in the wild.
How severe is CVE-2022-24826?
Low severity, with a CVSS score of 3.1, published 22 April 2022.
Which products and versions are affected?
github.com/git-lfs/git-lfs (Go) SEMVER:introduced=2.12.1; github.com/git-lfs/git-lfs/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.1.3.
Is there a fix for CVE-2022-24826?
Yes. github.com/git-lfs/git-lfs/v3 (Go): upgrade to 3.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-24826?
Check whether you run github.com/git-lfs/git-lfs (Go) or github.com/git-lfs/git-lfs/v3 (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/v3 (Go): upgrade to 3.1.3 or later
    go get github.com/git-lfs/git-lfs/v3@v3.1.3

Affected products

  • github.com/git-lfs/git-lfs (Go) SEMVER:introduced=2.12.1
  • github.com/git-lfs/git-lfs/v3 (Go) SEMVER:introduced=3.0.0,fixed=3.1.3

Identifiers

  • CVE-2022-24826
  • GHSA-6rw3-3whw-jvjj

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