go-git: Malicious reference names may modify files outside the reference storage
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 |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Go-git | Go-git |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-qgq7-7hm3-q39j | go-git: Malicious reference names may modify files outside the reference storage |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.413% probability within 30 days)
| 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.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue. | |
| Title | go-git: Malicious reference names may modify files outside the reference storage | |
| Weaknesses | CWE-22 | |
| References |
|
|
| Metrics |
cvssV3_1
|