CVE-2023-33252 Double spend in snarkjs

High 7.5 Published Updated

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.

PackageAffectedFixed in
snarkjs npmAll versions to 0.6.11None
snarkjs npmAll versions to 0.6.11None

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.

Is CVE-2023-33252 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free