CVE-2017-17831

high
Published 2017-12-21 · Modified 2024-06-03
CVSS v3
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
8.8

Description

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2017-17831 NameCVE-2017-17831 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub…

CVE-2017-17831

NameCVE-2017-17831
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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
git-lfs (PTS)bullseye2.13.2-1fixed
bullseye (security)2.13.2-1+deb11u2fixed
bookworm, bookworm (security)3.3.0-1+deb12u1fixed
trixie3.6.1-1+deb13u1fixed
forky, sid3.7.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
git-lfssource(unstable)(not affected)

Notes

- git-lfs <not-affected> (Fixed before initial upload to Debian)
https://github.com/git-lfs/git-lfs/pull/2242
https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
- git-lfs <not-affected> (Fixed before initial upload to Debian)https://github.com/git-lfs/git-lfs/pull/2242https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 0
sid Fixed 0
forky Fixed 0
bullseye Fixed 0
bookworm Fixed 0

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/git-lfs/git-lfs<2.1.1-0.20170519163204-f913f5f9c7c62.1.1-0.20170519163204-f913f5f9c7c6
golang Gogithub.com/git-lfs/git-lfs<2.1.1-0.20170519163204-f913f5f9c7c6+incompatible2.1.1-0.20170519163204-f913f5f9c7c6+incompatible

Application impact

VendorProductVersionsFixed
git_large_file_storage_projectgit_large_file_storage{"endExcluding":"2.1.1"}2.1.1

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.