CVE-2023-332520kims Snarkjs
High 7.5 No auth needed
Follow: this CVE · 0kims · 0kims Snarkjs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- No
- Published
- May 21, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
iden3 snarkjs through 0.6.11 allows double spending because there is no validation that the publicSignals length is less than the field modulus.
What to do
- Apply the vendor's security update for Snarkjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | snarkjs |
≤ 0.6.11 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xp5g-jhg3-3rg2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 0kims | snarkjs | ≤ 0.6.11 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Product