{"id":"GO-2024-2482","revision":null,"records":[{"revision":"f8a0de44e1ea4034894097c694594c73","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-23840","aliases":[],"title":"`goreleaser release --debug` shows secrets","description":"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.","state":0,"publishedAt":"2024-01-30T16:39:09.284+00:00","modifiedAt":"2025-05-29T15:04:48.029+00:00","affected":[{"ecosystem":"Vendor product","name":"goreleaser","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"goreleaser\",\n                    \"product\": \"goreleaser\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.23.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h","https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-23840","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-23840","identifiers":["CVE-2024-23840"]},"retained":false,"historicalAffected":[]},{"revision":"acd519ccbe434e0e9f635248d4cebd98","observedAt":"2026-11-15T01:49:31.44+00:00","statement":{"source":"euvd","id":"EUVD-2024-0363","aliases":["CVE-2024-23840","GHSA-h3q2-8whx-c29h"],"title":"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 vulnerabili…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"severity":null}],"references":["https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h","https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0363","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 30, 2024, 4:39:09 PM","dateUpdated":"May 29, 2025, 3:04:48 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0363","identifiers":["EUVD-2024-0363","CVE-2024-23840","GHSA-h3q2-8whx-c29h"]},"retained":false,"historicalAffected":[]},{"revision":"e459c41bc62b4be793a98be20698c0e5","observedAt":"2026-10-24T23:17:22.571+00:00","statement":{"source":"nvd","id":"CVE-2024-23840","aliases":[],"title":"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 vulnerabili…","description":"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.","state":0,"publishedAt":"2024-01-30T17:15:11.81+00:00","modifiedAt":"2026-06-17T07:13:43.107+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"severity":"MEDIUM"}],"references":["https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0","https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-23840","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-532"],"productCriteria":["cpe:2.3:a:goreleaser:goreleaser:1.23.0:*:*:*:*:go:*:*"],"sourceDates":{"published":"2024-01-30T17:15:11.810","lastModified":"2026-06-17T07:13:43.107"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-23840","identifiers":["CVE-2024-23840"]},"retained":false,"historicalAffected":[]},{"revision":"ad955880050f4e1a9ae33c8fa24377f0","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-h3q2-8whx-c29h","aliases":["CVE-2024-23840","GO-2024-2482"],"title":"`goreleaser release --debug` shows secrets","description":"### Summary\nHello \uD83D\uDC4B \n\n`goreleaser release --debug` log shows secret values used in the in the custom publisher.\n\n\nHow to reproduce the issue:\n\n- Define a custom publisher as the one below. Make sure to provide a custom script to the `cmd` field and to provide a secret to `env` \n\n```\n#.goreleaser.yml \npublishers:\n  - name: my-publisher\n  # IDs of the artifacts we want to sign\n    ids:\n      - linux_archives\n      - linux_package\n    cmd: \"./build/package/linux_notarize.sh\"\n    env:\n      - VERSION={{ .Version }}\n      - SECRET_1={{.Env.SECRET_1}}\n      - SECRET_2={{.Env.SECRET_2}}\n```\n\n- run `goreleaser release --debug`\n\nYou should see your secret value in the gorelease log. The log shows also the `GITHUB_TOKEN`\n\nExample:\n\n```\nrunning                                        cmd= ....\nSECRET_1=secret_value\n```\n","state":0,"publishedAt":"2024-01-30T20:57:52+00:00","modifiedAt":"2026-09-10T03:50:09.3354735+00:00","affected":[{"ecosystem":"Go","name":"github.com/goreleaser/goreleaser","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.23.0"},{"kind":"fixed","version":"1.24.0"}]}],"versions":["1.23.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h","https://nvd.nist.gov/vuln/detail/CVE-2024-23840","https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0","https://github.com/goreleaser/goreleaser"],"sourceUrl":"https://github.com/advisories/GHSA-h3q2-8whx-c29h","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h3q2-8whx-c29h","identifiers":["GHSA-h3q2-8whx-c29h","CVE-2024-23840","GO-2024-2482"]},"retained":false,"historicalAffected":[]},{"revision":"28ed6329598c48d6857b1df08b97acfc","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2482","aliases":["CVE-2024-23840","GHSA-h3q2-8whx-c29h"],"title":"Information leak in github.com/goreleaser/goreleaser","description":"Secret values can be printed to the --debug log when using a a custom publisher.","state":0,"publishedAt":"2024-02-13T18:22:44+00:00","modifiedAt":"2026-02-04T04:27:50.038423+00:00","affected":[{"ecosystem":"Go","name":"github.com/goreleaser/goreleaser","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.23.0"},{"kind":"fixed","version":"1.24.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h","https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2482","license":"OSV · upstream source license applies","key":"osv:GO-2024-2482","identifiers":["GO-2024-2482","CVE-2024-23840","GHSA-h3q2-8whx-c29h"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0716622+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.071663+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-7b226a5dbb956f6efa40aa530e16b552d2766bd2cfeae2c8f66152d783ec78d1","complete":true,"records":426117,"lastAttemptAt":"2026-11-16T18:44:56.949882+00:00","lastSuccessAt":"2026-11-16T18:44:56.8623544+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:56.949882+00:00","snapshotPublishedAt":"2026-11-16T18:30:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ffcf524d3cbf41d2a3a6fa937f216dd0","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T18:47:40.7926227+00:00","lastSuccessAt":"2026-11-16T18:47:40.774+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:40.774+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0725273+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.0725276+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-85ccba0af8894ad495cf1ce959f9030f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T18:47:38.4901027+00:00","lastSuccessAt":"2026-11-16T18:47:38.474+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T18:47:38.474+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T18:47:10.7901587+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.7901587+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T18:44:57.0142322+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:57.0142322+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T18:47:10.8068878+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.8068878+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a545a204cb7e029142fca3977ea456f4a00759bf811f31b6042225ef52bf5867","complete":true,"records":232531,"lastAttemptAt":"2026-11-16T18:47:10.4632154+00:00","lastSuccessAt":"2026-11-16T18:47:09.141739+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.4632154+00:00","snapshotPublishedAt":"2026-11-16T18:33:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}