go-git: Crafted repositories may modify main and submodule .git directories
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| go-git | go-git | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Go-git | Go-git |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-crhj-59gh-8x96 | go-git: Crafted repositories may modify main and submodule .git directories |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.297% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go-git Project
Go-git Project go-git |
|
| CPEs | cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:* cpe:2.3:a:go-git_project:go-git:6.0.0:alpha2:*:*:*:go:*:* cpe:2.3:a:go-git_project:go-git:6.0.0:alpha3:*:*:*:go:*:* |
|
| Vendors & Products |
Go-git Project
Go-git Project go-git |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go-git
Go-git go-git |
|
| Vendors & Products |
Go-git
Go-git go-git |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4. | |
| Title | go-git: Crafted repositories may modify main and submodule .git directories | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|