Vulnerability Description
OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and consists of a single token. Subsequent transfers from the receiver of that token may overflow the balance as reported by `balanceOf`. The issue exclusively presents with batches of size 1. The issue has been patched in 4.8.2.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 4.8.0, < 4.8.2 |
| Openzeppelin | Contracts Upgradeable | >= 4.8.0, < 4.8.2 |
Related Weaknesses (CWE)
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a67Patch
- https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2Release Notes
- https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a67Patch
- https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2Release Notes
- https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-Third Party Advisory
FAQ
What is CVE-2023-26488?
CVE-2023-26488 is a vulnerability with a CVSS score of 6.5 (MEDIUM). OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and cons...
How severe is CVE-2023-26488?
CVE-2023-26488 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-26488?
Check the references section above for vendor advisories and patch information. Affected products include: Openzeppelin Contracts, Openzeppelin Contracts Upgradeable.