Skip to content
Heist/ feed
Back to feed
Medium

`goreleaser release --debug` shows secrets

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-23840
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:48 UTC · Revision 1

Source evidence

`goreleaser release --debug` shows secrets

core-osv · Original source

Published 30 Jan 2024, 16:39 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.

osv:CVE-2024-23840
Complete source record
{
  "id": "6981342ab9ce0d139305a2f9bc956cd3e5d888c46ee5d9fc5f8a1165252a59aa",
  "url": "https://osv.dev/vulnerability/CVE-2024-23840",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "`goreleaser release --debug` shows secrets",
    "summary": "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.",
    "evidence": "osv:CVE-2024-23840",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-23840",
      "aliases": [
        "CVE-2024-23840",
        "GHSA-h3q2-8whx-c29h",
        "GO-2024-2482"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/goreleaser/goreleaser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3ec68fbf8c3a1b16ca0f69aeccfb93765685b643"
                },
                {
                  "fixed": "d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.23.0"
                      },
                      {
                        "last_affected": "1.23.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.23.0",
            "v1.23.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23840.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.522301481Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23840.json",
        "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-532"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23840.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-23840",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497566,
  "published_at": "2024-01-30T16:39:09.284+00:00"
}