CVE-2023-33252 Double spend in snarkjs
Attackers can perform double spending in snarkjs due to missing validation of publicSignals length against the field modulus.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-33252?
CVE-2023-33252 is a high-severity vulnerability in n/a, published on 21 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
iden3 snarkjs through 0.6.11 allows double spending because there is no validation that the publicSignals length is less than the field modulus.
Weakness: CWE-862
Which versions are affected by CVE-2023-33252?
2 open source packages ship an affected version, including snarkjs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
snarkjs npm | All versions to 0.6.11 | None |
snarkjs npm | All versions to 0.6.11 | None |
Products include 0kims Snarkjs.
How do I fix CVE-2023-33252?
No fix has been published for CVE-2023-33252 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-33252 being exploited?
There is no known exploitation of CVE-2023-33252 in the wild and no public exploit code.
Sources
Also known as GHSA-xp5g-jhg3-3rg2.