high7.5
CVE-2022-25324
Uncaught Exception in bignum
Impact
All versions of the npm package bignum are vulnerable to Denial of Service (DoS) due to a type-check exception in V8. When verifying the type of the second argument to the .powm function, V8 will crash regardless of Node try/catch blocks.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | bignum | <= 0.13.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Bignum Project | Bignum | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/justmoon/node-bignum/blob/ef2e02533e598d6df8421000033c4753cde89ee2/index.js%23L111
- https://snyk.io/vuln/SNYK-JS-BIGNUM-2388581
- https://github.com/advisories/GHSA-6429-3g3w-6mw5
- https://nvd.nist.gov/vuln/detail/CVE-2022-25324
- https://github.com/justmoon/node-bignum/blob/ef2e02533e598d6df8421000033c4753cde89ee2/index.js#L111