From bc7b1747a5cfe0026192ec4b791fcec59315f899 Mon Sep 17 00:00:00 2001 From: Zvonimir Pavlinovic Date: Wed, 15 Nov 2023 17:25:05 +0000 Subject: [PATCH] data/reports: add GO-2023-2333.yaml Aliases: GHSA-rjjm-x32p-m3f7 Fixes golang/vulndb#2333 Change-Id: Icc32709da470c080c2f7e6687694fee2f5f8fe19 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/542575 Run-TryBot: Zvonimir Pavlinovic LUCI-TryBot-Result: Go LUCI TryBot-Result: Gopher Robot Reviewed-by: Tatiana Bradley --- data/osv/GO-2023-2333.json | 66 ++++++++++++++++++++++++++++++++++ data/reports/GO-2023-2333.yaml | 21 +++++++++++ 2 files changed, 87 insertions(+) create mode 100644 data/osv/GO-2023-2333.json create mode 100644 data/reports/GO-2023-2333.yaml diff --git a/data/osv/GO-2023-2333.json b/data/osv/GO-2023-2333.json new file mode 100644 index 00000000..a437585c --- /dev/null +++ b/data/osv/GO-2023-2333.json @@ -0,0 +1,66 @@ +{ + "schema_version": "1.3.1", + "id": "GO-2023-2333", + "modified": "0001-01-01T00:00:00Z", + "published": "0001-01-01T00:00:00Z", + "aliases": [ + "GHSA-rjjm-x32p-m3f7" + ], + "summary": "Range checker gadget allows wider inputs than allowed in github.com/consensys/gnark", + "details": "Range checker gadget allows wider inputs than allowed in github.com/consensys/gnark", + "affected": [ + { + "package": { + "name": "github.com/consensys/gnark", + "ecosystem": "Go" + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.9.2-0.20231110170422-f528807119e9" + } + ] + } + ], + "ecosystem_specific": { + "imports": [ + { + "path": "github.com/consensys/gnark/std/rangecheck", + "symbols": [ + "commitChecker.commit", + "nbPLONKConstraints", + "nbR1CSConstraints" + ] + } + ] + } + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://github.com/Consensys/gnark/security/advisories/GHSA-rjjm-x32p-m3f7" + }, + { + "type": "WEB", + "url": "https://github.com/Consensys/gnark/issues/897" + }, + { + "type": "FIX", + "url": "https://github.com/Consensys/gnark/commit/f528807119e9443df94b8c01fe8ee65abe3c75d8" + } + ], + "credits": [ + { + "name": "@ultrainstinct30" + } + ], + "database_specific": { + "url": "https://pkg.go.dev/vuln/GO-2023-2333" + } +} \ No newline at end of file diff --git a/data/reports/GO-2023-2333.yaml b/data/reports/GO-2023-2333.yaml new file mode 100644 index 00000000..2153426a --- /dev/null +++ b/data/reports/GO-2023-2333.yaml @@ -0,0 +1,21 @@ +id: GO-2023-2333 +modules: + - module: github.com/consensys/gnark + versions: + - fixed: 0.9.2-0.20231110170422-f528807119e9 + vulnerable_at: 0.9.1 + packages: + - package: github.com/consensys/gnark/std/rangecheck + symbols: + - commitChecker.commit + - nbR1CSConstraints + - nbPLONKConstraints +summary: Range checker gadget allows wider inputs than allowed in github.com/consensys/gnark +ghsas: + - GHSA-rjjm-x32p-m3f7 +credits: + - '@ultrainstinct30' +references: + - advisory: https://github.com/Consensys/gnark/security/advisories/GHSA-rjjm-x32p-m3f7 + - web: https://github.com/Consensys/gnark/issues/897 + - fix: https://github.com/Consensys/gnark/commit/f528807119e9443df94b8c01fe8ee65abe3c75d8