data/reports: add GO-2025-3660
- data/reports/GO-2025-3660.yaml
Updates golang/vulndb#3660
Change-Id: I970576fb1ef948d0f8e2b2bb360c5dee65fde7d1
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/669935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
Auto-Submit: Neal Patel <nealpatel@google.com>
diff --git a/data/osv/GO-2025-3660.json b/data/osv/GO-2025-3660.json
new file mode 100644
index 0000000..77c07af
--- /dev/null
+++ b/data/osv/GO-2025-3660.json
@@ -0,0 +1,63 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2025-3660",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "CVE-2025-46569",
+ "GHSA-6m8w-jc87-6cr7"
+ ],
+ "summary": "OPA server Data API HTTP path injection of Rego in github.com/open-policy-agent/opa",
+ "details": "OPA server Data API HTTP path injection of Rego in github.com/open-policy-agent/opa",
+ "affected": [
+ {
+ "package": {
+ "name": "github.com/open-policy-agent/opa",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "1.4.0"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "github.com/open-policy-agent/opa/v1/server",
+ "symbols": [
+ "Server.makeRego",
+ "Server.unversionedGetHealthWithPolicy",
+ "Server.v0QueryPath",
+ "baseHTTPListener.ListenAndServe",
+ "baseHTTPListener.ListenAndServeTLS",
+ "stringPathToDataRef",
+ "stringPathToRef"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "ADVISORY",
+ "url": "https://github.com/open-policy-agent/opa/security/advisories/GHSA-6m8w-jc87-6cr7"
+ },
+ {
+ "type": "FIX",
+ "url": "https://github.com/open-policy-agent/opa/commit/ad2063247a14711882f18c387a511fc8094aa79c"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3660",
+ "review_status": "REVIEWED"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2025-3660.yaml b/data/reports/GO-2025-3660.yaml
new file mode 100644
index 0000000..7f04cfb
--- /dev/null
+++ b/data/reports/GO-2025-3660.yaml
@@ -0,0 +1,31 @@
+id: GO-2025-3660
+modules:
+ - module: github.com/open-policy-agent/opa
+ versions:
+ - fixed: 1.4.0
+ vulnerable_at: 1.3.0
+ packages:
+ - package: github.com/open-policy-agent/opa/v1/server
+ symbols:
+ - Server.unversionedGetHealthWithPolicy
+ - Server.makeRego
+ - stringPathToDataRef
+ - Server.v0QueryPath
+ - stringPathToRef
+ derived_symbols:
+ - baseHTTPListener.ListenAndServe
+ - baseHTTPListener.ListenAndServeTLS
+summary: |-
+ OPA server Data API HTTP path injection of Rego in
+ github.com/open-policy-agent/opa
+cves:
+ - CVE-2025-46569
+ghsas:
+ - GHSA-6m8w-jc87-6cr7
+references:
+ - advisory: https://github.com/open-policy-agent/opa/security/advisories/GHSA-6m8w-jc87-6cr7
+ - fix: https://github.com/open-policy-agent/opa/commit/ad2063247a14711882f18c387a511fc8094aa79c
+source:
+ id: GHSA-6m8w-jc87-6cr7
+ created: 2025-05-05T11:20:27.529811-04:00
+review_status: REVIEWED