Since #4787 the log output is printed on the INFO level, while previously it was logged on DEBUG. This means if the go build
output is non-empty, goreleaser leaks the environment.
$GOPATH/pkg
).go mod tidy
in a before hookgoreleaser release --clean
go: downloading ...
lines, which triggers the "if output not empty, log it" line, which includes the environment.Credentials and tokens are leaked.
{ "nvd_published_at": null, "cwe_ids": [ "CWE-532" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2024-05-15T17:17:10Z" }