data/reports: add high priority GO-2025-3787
- data/reports/GO-2025-3787.yaml
Fixes golang/vulndb#3787
Change-Id: I8bbdbb1530a5fce361dcbb2d02641f98e1c1c95c
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/689216
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Neal Patel <nealpatel@google.com>
diff --git a/data/osv/GO-2025-3787.json b/data/osv/GO-2025-3787.json
new file mode 100644
index 0000000..9ef2f0f
--- /dev/null
+++ b/data/osv/GO-2025-3787.json
@@ -0,0 +1,60 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2025-3787",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "GHSA-fv92-fjc5-jj9h"
+ ],
+ "summary": "May leak sensitive information in logs when processing malformed data in github.com/go-viper/mapstructure",
+ "details": "May leak sensitive information in logs when processing malformed data in github.com/go-viper/mapstructure",
+ "affected": [
+ {
+ "package": {
+ "name": "github.com/go-viper/mapstructure",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {}
+ },
+ {
+ "package": {
+ "name": "github.com/go-viper/mapstructure/v2",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "2.3.0"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {}
+ }
+ ],
+ "references": [
+ {
+ "type": "ADVISORY",
+ "url": "https://github.com/go-viper/mapstructure/security/advisories/GHSA-fv92-fjc5-jj9h"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2025-3787",
+ "review_status": "REVIEWED"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2025-3787.yaml b/data/reports/GO-2025-3787.yaml
new file mode 100644
index 0000000..b4d662d
--- /dev/null
+++ b/data/reports/GO-2025-3787.yaml
@@ -0,0 +1,19 @@
+id: GO-2025-3787
+modules:
+ - module: github.com/go-viper/mapstructure
+ vulnerable_at: 1.6.0
+ - module: github.com/go-viper/mapstructure/v2
+ versions:
+ - fixed: 2.3.0
+ vulnerable_at: 2.2.1
+summary: May leak sensitive information in logs when processing malformed data in github.com/go-viper/mapstructure
+ghsas:
+ - GHSA-fv92-fjc5-jj9h
+references:
+ - advisory: https://github.com/go-viper/mapstructure/security/advisories/GHSA-fv92-fjc5-jj9h
+notes:
+ - No fix commit provided in advisory
+source:
+ id: GHSA-fv92-fjc5-jj9h
+ created: 2025-07-16T21:03:19.749679017Z
+review_status: REVIEWED