CVE-2024-23840
`goreleaser release --debug` shows secrets
Reported by github_m · Published January 30, 2024
github.com/goreleaser/goreleaser is fixed in 1.24.0 (Go Modules)
GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a tap repository. `goreleaser release --debug` log shows secret values used in the in the custom publisher. This vulnerability is fixed in 1.24.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/goreleaser/goreleaser | Go Modules | 1.24.0 |
| goreleaser | Wolfi | 1.24.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| goreleaser | goreleaser | 1.23.0 |
| wolfi | goreleaser | 0 |
| goreleaser | goreleaser | 1.23.0 |
| github.com | goreleaser/goreleaser | 1.23.0 |
| chainguard | goreleaser | 0 |
Timeline
- Jan 30, 2024 CVE Published
- Jan 30, 2024 PoC Published (3 in total, the first dated here)
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 17, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-23840
vulnetix vdb fixes CVE-2024-23840
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-23840/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h x_refsource_CONFIRM
- https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-23840 advisory
- https://github.com/advisories/GHSA-h3q2-8whx-c29h advisory