CVE-2023-33252 json
Double spend in snarkjs
published 2023-05-21 3 y ago modified 2026-06-17 4 mo ago also GHSA-xp5g-jhg3-3rg2 , EUVD-2023-1652
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
iden3 snarkjs through 0.6.11 allows double spending because there is no validation that the publicSignals length is less than the field modulus.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | snarkjs | <=0.6.11 |
no fix listed |
Classification
- Weakness
-
- CWE-862 Missing Authorization
References
-
github.com
/iden3/snarkjs/commits/master/src/groth16_verify.js
web, product
-
github.com
/iden3/snarkjs/tags
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-33252
advisory
-
github.com
/iden3/snarkjs
package
Sources
- CVE List CVE-2023-33252
- GitHub Advisory GHSA-xp5g-jhg3-3rg2
- NVD CVE-2023-33252
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.