go-git: Improper single-quote escaping in go-git SSH transport
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-m7cr-m3pv-hgrp | go-git: Improper single-quote escaping in go-git SSH transport |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.365% 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 |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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 |
|---|---|---|
| Description | go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4. | |
| Title | go-git: Improper single-quote escaping in go-git SSH transport | |
| Weaknesses | CWE-116 | |
| References |
| |
| Metrics |
cvssV4_0
|