data/reports: add GO-2024-2482.yaml

Aliases: CVE-2024-23840, GHSA-h3q2-8whx-c29h

Fixes golang/vulndb#2482

Change-Id: I0367235b83ae2c2f47cee351c95c8045a8deba5f
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/563076
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tim King <taking@google.com>
diff --git a/data/osv/GO-2024-2482.json b/data/osv/GO-2024-2482.json
new file mode 100644
index 0000000..a03fed2
--- /dev/null
+++ b/data/osv/GO-2024-2482.json
@@ -0,0 +1,78 @@
+{
+  "schema_version": "1.3.1",
+  "id": "GO-2024-2482",
+  "modified": "0001-01-01T00:00:00Z",
+  "published": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2024-23840",
+    "GHSA-h3q2-8whx-c29h"
+  ],
+  "summary": "Information leak in github.com/goreleaser/goreleaser",
+  "details": "Secret values can be printed to the --debug log when using a a custom publisher.",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/goreleaser/goreleaser",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "1.23.0"
+            },
+            {
+              "fixed": "1.24.0"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/goreleaser/goreleaser/internal/shell",
+            "symbols": [
+              "Run"
+            ]
+          },
+          {
+            "path": "github.com/goreleaser/goreleaser/internal/pipe/sbom",
+            "symbols": [
+              "Pipe.Run",
+              "catalogArtifact"
+            ]
+          },
+          {
+            "path": "github.com/goreleaser/goreleaser/internal/exec",
+            "symbols": [
+              "Execute",
+              "executeCommand"
+            ]
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "ADVISORY",
+      "url": "https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h"
+    },
+    {
+      "type": "FIX",
+      "url": "https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0"
+    }
+  ],
+  "credits": [
+    {
+      "name": "@andreaangiolillo"
+    },
+    {
+      "name": "@caarlos0"
+    }
+  ],
+  "database_specific": {
+    "url": "https://pkg.go.dev/vuln/GO-2024-2482"
+  }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2482.yaml b/data/reports/GO-2024-2482.yaml
new file mode 100644
index 0000000..ffabf9c
--- /dev/null
+++ b/data/reports/GO-2024-2482.yaml
@@ -0,0 +1,35 @@
+id: GO-2024-2482
+modules:
+    - module: github.com/goreleaser/goreleaser
+      versions:
+        - introduced: 1.23.0
+          fixed: 1.24.0
+      vulnerable_at: 1.23.0
+      packages:
+        - package: github.com/goreleaser/goreleaser/internal/shell
+          symbols:
+            - Run
+        - package: github.com/goreleaser/goreleaser/internal/pipe/sbom
+          symbols:
+            - catalogArtifact
+          derived_symbols:
+            - Pipe.Run
+        - package: github.com/goreleaser/goreleaser/internal/exec
+          symbols:
+            - executeCommand
+          derived_symbols:
+            - Execute
+      fix_links:
+        - https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0
+summary: Information leak in github.com/goreleaser/goreleaser
+description: Secret values can be printed to the --debug log when using a a custom publisher.
+cves:
+    - CVE-2024-23840
+ghsas:
+    - GHSA-h3q2-8whx-c29h
+credits:
+    - '@andreaangiolillo'
+    - '@caarlos0'
+references:
+    - advisory: https://github.com/goreleaser/goreleaser/security/advisories/GHSA-h3q2-8whx-c29h
+    - fix: https://github.com/goreleaser/goreleaser/commit/d5b6a533ca1dc3366983d5d31ee2d2b6232b83c0