Incorrect Calculation Affecting @openzeppelin/contracts package, versions >=4.8.0 <4.8.2
Threat Intelligence
EPSS
0.07% (31st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-OPENZEPPELINCONTRACTS-3339527
- published 5 Mar 2023
- disclosed 3 Mar 2023
- credit Unknown
Introduced: 3 Mar 2023
CVE-2023-26488 Open this link in a new tabHow to fix?
Upgrade @openzeppelin/contracts
to version 4.8.2 or higher.
Overview
@openzeppelin/contracts is a library for contract development.
Affected versions of this package are vulnerable to Incorrect Calculation. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch have size 1 and consists of a single token. Subsequent transfers from the receiver of that token may overflow the balance as reported by balanceOf
.
References
CVSS Scores
version 3.1