Bug 1219388 (CVE-2024-23840) - VUL-0: CVE-2024-23840: eksctl: goreleaser: goreleaser release --debug shows secrets
Summary: VUL-0: CVE-2024-23840: eksctl: goreleaser: goreleaser release --debug shows s...
Status: NEW
Alias: CVE-2024-23840
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Johannes Kastl
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/392568/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-31 08:33 UTC by SMASH SMASH
Modified: 2024-02-10 11:42 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-01-31 08:33:07 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-23840
https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0
https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h
https://www.cve.org/CVERecord?id=CVE-2024-23840
https://bugzilla.redhat.com/show_bug.cgi?id=2262014
Comment 1 Thomas Leroy 2024-01-31 08:38:36 UTC
goreleaser seems to be embedded in openSUSE:Factory/eksctl
Comment 2 Johannes Kastl 2024-02-10 11:42:28 UTC
Sorry for the late reply.

eksctl got several updates in the last couple of weeks. The latest 0.170.0 includes github.com/goreleaser/goreleaser v1.11.5 according to the go.mod.

According to the Security advisory 1.23.0 is affected and 1.24.0 is safe.

Not sure about 1.11.5...