Invoking "go tool pack" does not sanitize output paths in cmd/go
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 toolchain | cmd/go | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gotoolchain | Cmd/go |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.170% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-20 CWE-22 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang go |
|
| Weaknesses | CWE-787 | |
| CPEs | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Golang
Golang go |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gotoolchain
Gotoolchain cmd/go |
|
| Vendors & Products |
Gotoolchain
Gotoolchain cmd/go |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-20 CWE-22 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 CWE-73 |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 CWE-73 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem. | |
| Title | Invoking "go tool pack" does not sanitize output paths in cmd/go | |
| References |
|