6.2
CVSS V3
goreleaser shows environment by default
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.