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

Aliases: CVE-2024-22198, GHSA-8r25-68wm-jw35

Fixes golang/vulndb#2462

Change-Id: I77fc4255d8216b1e5b342226951aa5d60cbd371d
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/556155
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-2462.json b/data/osv/GO-2024-2462.json
new file mode 100644
index 0000000..f8bd4a5
--- /dev/null
+++ b/data/osv/GO-2024-2462.json
@@ -0,0 +1,62 @@
+{
+  "schema_version": "1.3.1",
+  "id": "GO-2024-2462",
+  "modified": "0001-01-01T00:00:00Z",
+  "published": "0001-01-01T00:00:00Z",
+  "aliases": [
+    "CVE-2024-22198",
+    "GHSA-8r25-68wm-jw35"
+  ],
+  "summary": "Arbitrary command execution in github.com/0xJacky/Nginx-UI",
+  "details": "Arbitrary command execution in github.com/0xJacky/Nginx-UI",
+  "affected": [
+    {
+      "package": {
+        "name": "github.com/0xJacky/Nginx-UI",
+        "ecosystem": "Go"
+      },
+      "ranges": [
+        {
+          "type": "SEMVER",
+          "events": [
+            {
+              "introduced": "0"
+            },
+            {
+              "fixed": "1.9.10-0.20231219184941-827e76c46e63"
+            }
+          ]
+        }
+      ],
+      "ecosystem_specific": {
+        "imports": [
+          {
+            "path": "github.com/0xJacky/Nginx-UI/api/system",
+            "symbols": [
+              "GetSettings",
+              "SaveSettings"
+            ]
+          }
+        ]
+      }
+    }
+  ],
+  "references": [
+    {
+      "type": "FIX",
+      "url": "https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3"
+    },
+    {
+      "type": "ADVISORY",
+      "url": "https://github.com/advisories/GHSA-8r25-68wm-jw35"
+    }
+  ],
+  "credits": [
+    {
+      "name": "@jorgectf"
+    }
+  ],
+  "database_specific": {
+    "url": "https://pkg.go.dev/vuln/GO-2024-2462"
+  }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2462.yaml b/data/reports/GO-2024-2462.yaml
new file mode 100644
index 0000000..de1363c
--- /dev/null
+++ b/data/reports/GO-2024-2462.yaml
@@ -0,0 +1,21 @@
+id: GO-2024-2462
+modules:
+    - module: github.com/0xJacky/Nginx-UI
+      versions:
+        - fixed: 1.9.10-0.20231219184941-827e76c46e63
+      vulnerable_at: 1.9.10-0.20231219042952-0a9e23daf406
+      packages:
+        - package: github.com/0xJacky/Nginx-UI/api/system
+          symbols:
+            - GetSettings
+            - SaveSettings
+summary: Arbitrary command execution in github.com/0xJacky/Nginx-UI
+cves:
+    - CVE-2024-22198
+ghsas:
+    - GHSA-8r25-68wm-jw35
+credits:
+    - '@jorgectf'
+references:
+    - fix: https://github.com/0xJacky/nginx-ui/commit/827e76c46e63c52114a62a899f61313039c754e3
+    - advisory: https://github.com/advisories/GHSA-8r25-68wm-jw35