data/reports: add GO-2024-3228

  - data/reports/GO-2024-3228.yaml

Fixes golang/vulndb#3228

Change-Id: I8bd7a4d28da766e7cefd26718b0f1bb950baa715
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/622937
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
diff --git a/data/osv/GO-2024-3228.json b/data/osv/GO-2024-3228.json
new file mode 100644
index 0000000..06aeb1b
--- /dev/null
+++ b/data/osv/GO-2024-3228.json
@@ -0,0 +1,76 @@
+{
+  "schema_version": "1.3.1",
+  "id": "GO-2024-3228",
+  "modified": "0001-01-01T00:00:00Z",
+  "published": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "GHSA-wcx9-ccpj-hx3c"
+  ],
+  "summary": "Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder",
+  "details": "Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/coder/coder",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {}
+    },
+    {
+      "package": {
+        "name": "github.com/coder/coder/v2",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "2.3.1"
+            },
+            {
+              "fixed": "2.14.4"
+            },
+            {
+              "introduced": "2.15.0"
+            },
+            {
+              "fixed": "2.15.3"
+            },
+            {
+              "introduced": "2.16.0"
+            },
+            {
+              "fixed": "2.16.1"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {}
+    }
+  ],
+  "references": [
+    {
+      "type": "ADVISORY",
+      "url": "https://github.com/coder/coder/security/advisories/GHSA-wcx9-ccpj-hx3c"
+    },
+    {
+      "type": "FIX",
+      "url": "https://github.com/coder/coder/commit/69c1d981e3131e50d52b01f6a360abadaad699e6"
+    }
+  ],
+  "database_specific": {
+    "url": "https://pkg.go.dev/vuln/GO-2024-3228",
+    "review_status": "UNREVIEWED"
+  }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-3228.yaml b/data/reports/GO-2024-3228.yaml
new file mode 100644
index 0000000..734666e
--- /dev/null
+++ b/data/reports/GO-2024-3228.yaml
@@ -0,0 +1,25 @@
+id: GO-2024-3228
+modules:
+    - module: github.com/coder/coder
+      vulnerable_at: 0.27.3
+    - module: github.com/coder/coder/v2
+      versions:
+        - introduced: 2.3.1
+        - fixed: 2.14.4
+        - introduced: 2.15.0
+        - fixed: 2.15.3
+        - introduced: 2.16.0
+        - fixed: 2.16.1
+      vulnerable_at: 2.16.0
+summary: |-
+    Coder vulnerable to post-auth URL redirection to untrusted site ('Open
+    Redirect') in github.com/coder/coder
+ghsas:
+    - GHSA-wcx9-ccpj-hx3c
+references:
+    - advisory: https://github.com/coder/coder/security/advisories/GHSA-wcx9-ccpj-hx3c
+    - fix: https://github.com/coder/coder/commit/69c1d981e3131e50d52b01f6a360abadaad699e6
+source:
+    id: GHSA-wcx9-ccpj-hx3c
+    created: 2024-10-28T20:48:48.504970195Z
+review_status: UNREVIEWED