Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/goreleaser/goreleaser
  4. ›
  5. GHSA-f6mm-5fc7-3g3c

GHSA-f6mm-5fc7-3g3c: goreleaser shows environment by default

May 15, 2024

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.

References

  • github.com/advisories/GHSA-f6mm-5fc7-3g3c
  • github.com/goreleaser/goreleaser
  • github.com/goreleaser/goreleaser/commit/22f734e41f7a5111a031a3a4eb714c1b6aa6456b
  • github.com/goreleaser/goreleaser/pull/4787
  • github.com/goreleaser/goreleaser/security/advisories/GHSA-f6mm-5fc7-3g3c

Code Behaviors & Features

Detect and mitigate GHSA-f6mm-5fc7-3g3c with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.26.0 before 1.26.1, version 1.26.0

Fixed versions

  • 1.26.1

Solution

Upgrade to version 1.26.1 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

go/github.com/goreleaser/goreleaser/GHSA-f6mm-5fc7-3g3c.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:14:42 +0000.