Information Exposure Through Log Files Affecting github.com/goreleaser/goreleaser/internal/builders/golang package, versions >=1.26.0 <1.26.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMGORELEASERGORELEASERINTERNALBUILDERSGOLANG-6854264
  • published 16 May 2024
  • disclosed 15 May 2024
  • credit Christoph Mewes, Marko Mudrinić

Introduced: 15 May 2024

CVE NOT AVAILABLE CWE-532 Open this link in a new tab

How to fix?

Upgrade github.com/goreleaser/goreleaser/internal/builders/golang to version 1.26.1 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure Through Log Files due to the log output being printed on the INFO level instead of DEBUG. An attacker can leak credentials and tokens by triggering the log output with non-empty go build output.

CVSS Scores

version 3.1
Expand this section

Snyk

6.2 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None