Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. snarkjs
  4. ›
  5. CVE-2023-33252

CVE-2023-33252: Double spend in snarkjs

May 21, 2023 (updated May 30, 2023)

iden3 snarkjs through 0.6.11 allows double spending because there is no validation that the publicSignals length is less than the field modulus.

References

  • github.com/advisories/GHSA-xp5g-jhg3-3rg2
  • github.com/iden3/snarkjs/commits/master/src/groth16_verify.js
  • github.com/iden3/snarkjs/tags
  • nvd.nist.gov/vuln/detail/CVE-2023-33252

Code Behaviors & Features

Detect and mitigate CVE-2023-33252 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.6.11

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Source file

npm/snarkjs/CVE-2023-33252.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:51 +0000.