Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
Go toolchain cmd/go · golang.org/x/mod/sumdb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Go toolchain cmd/go |
| No fix yet |
| golang.org/x/mod golang.org/x/mod/sumdb |
| No fix yet |
Original description
A malicious GOSUMDB was capable of serving arbitrary module content not contained within the transparency log. This attack allows for a coordinating GOPROXY and GOSUMDB to serve a client malicious module content that cannot be detected by evaluating the transparency log. In order to determine if you have been affected: rm -r go.sum go.work.sum vendor/ && go mod tidy