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

Aliases: CVE-2021-41803, GHSA-hr3v-8cp3-68rf

Fixes golang/vulndb#2683

Change-Id: I1bf780189f73f699ee11deff3f0d25e94a963d22
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/576875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
diff --git a/data/osv/GO-2024-2683.json b/data/osv/GO-2024-2683.json
new file mode 100644
index 0000000..1a54432
--- /dev/null
+++ b/data/osv/GO-2024-2683.json
@@ -0,0 +1,74 @@
+{
+  "schema_version": "1.3.1",
+  "id": "GO-2024-2683",
+  "modified": "0001-01-01T00:00:00Z",
+  "published": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2021-41803",
+    "GHSA-hr3v-8cp3-68rf"
+  ],
+  "summary": "Improper handling of node names in JWT claims assertions in github.com/hashicorp/consul",
+  "details": "HashiCorp Consul does not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC.",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/hashicorp/consul",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "1.8.1"
+            },
+            {
+              "fixed": "1.11.9"
+            },
+            {
+              "introduced": "1.12.0"
+            },
+            {
+              "fixed": "1.12.5"
+            },
+            {
+              "introduced": "1.13.0"
+            },
+            {
+              "fixed": "1.13.2"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/hashicorp/consul/agent/consul",
+            "symbols": [
+              "AutoConfig.InitialConfiguration",
+              "jwtAuthorizer.Authorize"
+            ]
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "WEB",
+      "url": "https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627"
+    },
+    {
+      "type": "FIX",
+      "url": "https://github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7fee"
+    }
+  ],
+  "credits": [
+    {
+      "name": "anonymous4ACL24"
+    }
+  ],
+  "database_specific": {
+    "url": "https://pkg.go.dev/vuln/GO-2024-2683"
+  }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2683.yaml b/data/reports/GO-2024-2683.yaml
new file mode 100644
index 0000000..9a05c3f
--- /dev/null
+++ b/data/reports/GO-2024-2683.yaml
@@ -0,0 +1,34 @@
+id: GO-2024-2683
+modules:
+    - module: github.com/hashicorp/consul
+      versions:
+        - introduced: 1.8.1
+          fixed: 1.11.9
+        - introduced: 1.12.0
+          fixed: 1.12.5
+        - introduced: 1.13.0
+          fixed: 1.13.2
+      vulnerable_at: 1.13.1
+      packages:
+        - package: github.com/hashicorp/consul/agent/consul
+          symbols:
+            - jwtAuthorizer.Authorize
+          derived_symbols:
+            - AutoConfig.InitialConfiguration
+summary: |-
+    Improper handling of node names in JWT claims assertions in
+    github.com/hashicorp/consul
+description: |-
+    HashiCorp Consul does not properly validate the node or segment names prior to
+    interpolation and usage in JWT claim assertions with the auto config RPC.
+cves:
+    - CVE-2021-41803
+ghsas:
+    - GHSA-hr3v-8cp3-68rf
+credits:
+    - anonymous4ACL24
+references:
+    - web: https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627
+    - fix: https://github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7fee
+notes:
+    - create: found alias BIT-consul-2021-41803 that is not a GHSA or CVE