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