# CVE-2024-23840: GO-2024-2482 - Information leak in github.com/goreleaser/goreleaser

Source: https://junglewise.ai/threats/cve-2024-23840-goreleaser-release-debug-shows-secrets  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-13  
License: CC BY 4.0 with a link back

CVE-2024-23840 · Severity: low · CVSS 3.1 · Published 2024-02-13

Information leak in github.com/goreleaser/goreleaser

Technologies: [github.com/goreleaser/goreleaser (Go)](https://junglewise.ai/threats/technologies/github-com-goreleaser-goreleaser). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-23840 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-23840 being exploited in the wild.

**How severe is CVE-2024-23840?** Low severity, with a CVSS score of 3.1, published 13 February 2024.

**Which products and versions are affected?** github.com/goreleaser/goreleaser (Go) SEMVER:introduced=1.23.0,fixed=1.24.0.

**Is there a fix for CVE-2024-23840?** Yes. github.com/goreleaser/goreleaser (Go): upgrade to 1.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-23840?** Check whether you run github.com/goreleaser/goreleaser (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/goreleaser/goreleaser (Go): upgrade to 1.24.0 or later

  ```sh
  go get github.com/goreleaser/goreleaser@v1.24.0
  ```


## Affected products

- github.com/goreleaser/goreleaser (Go) SEMVER:introduced=1.23.0,fixed=1.24.0

## Identifiers

- CVE-2024-23840
- GHSA-h3q2-8whx-c29h
- GO-2024-2482

## Related threats

- [GO-2024-2860 - goreleaser shows environment by default in github.com/goreleaser/goreleaser](https://junglewise.ai/threats/go-2024-2860-goreleaser-shows-environment-by-default-in-github-com-27715b2b)
- [goreleaser shows environment by default](https://junglewise.ai/threats/goreleaser-shows-environment-by-default-9bbb8a4d)
