blob: 6b3ec5e4a815954cb2319d8eceef1df4795a72c7 [file] [log] [blame]
id: GO-ID-PENDING
modules:
- module: github.com/git-lfs/git-lfs
versions:
- fixed: 2.1.1-0.20170519163204-f913f5f9c7c6
- module: github.com/git-lfs/git-lfs
versions:
- fixed: 2.1.1-0.20170519163204-f913f5f9c7c6
packages:
- package: github.com/git-lfs/git-lfs/lfsapi
summary: GitHub Git LFS Improper Input Validation vulnerability in github.com/git-lfs/git-lfs
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.
cves:
- CVE-2017-17831
ghsas:
- GHSA-w4xh-w33p-4v29
references:
- advisory: https://nvd.nist.gov/vuln/detail/CVE-2017-17831
- fix: https://github.com/git-lfs/git-lfs/pull/2241
- fix: https://github.com/git-lfs/git-lfs/pull/2242
- fix: https://github.com/git-lfs/git-lfs/commit/f913f5f9c7c6d1301785fdf9884a2942d59cdf19
- web: https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2018-01-24-942834324.html
- web: https://github.com/git-lfs/git-lfs/releases/tag/v2.1.1
- web: https://web.archive.org/web/20200227131639/http://www.securityfocus.com/bid/102926
- web: http://blog.recurity-labs.com/2017-08-10/scm-vulns
- web: http://www.securityfocus.com/bid/102926
notes:
- lint: 'description: possible markdown formatting (found `url =` line in a `.lfsconfig`)'
- lint: 'modules[0] "github.com/git-lfs/git-lfs": version 2.1.1-0.20170519163204-f913f5f9c7c6 does not exist'
- lint: 'modules[1] "github.com/git-lfs/git-lfs": packages[0] "github.com/git-lfs/git-lfs/lfsapi": at least one of vulnerable_at and skip_fix must be set'
- lint: 'modules[1] "github.com/git-lfs/git-lfs": version 2.1.1-0.20170519163204-f913f5f9c7c6 does not exist'
source:
id: GHSA-w4xh-w33p-4v29