Incorrect Calculation Affecting @openzeppelin/contracts-upgradeable 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-OPENZEPPELINCONTRACTSUPGRADEABLE-3339526
- 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-upgradeable
to version 4.8.2 or higher.
Overview
@openzeppelin/contracts-upgradeable is a Secure Smart Contract library for Solidity.
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