Advisory

GO-2021-0073

Also known as: CVE-2017-17831, GHSA-w4xh-w33p-4v29

Summary

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

Details

Arbitrary command execution can be triggered by improperly sanitized SSH URLs in LFS configuration files. This can be triggered by cloning a malicious repository.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-06-03 20:51 UTC

Affected packages and fixes

github.com/git-lfs/git-lfs

Go · All systems

Affected

  • introduced 0, fixed 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible (semver)

Fixed versions

2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Fix

  • Fixed version 2.1.1-0.20170519163204-f913f5f9c7c6+incompatible
    go get github.com/git-lfs/[email protected]+incompatible

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences