cve/2023/CVE-2023-26488.md

18 lines
974 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-26488](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-26488)
![](https://img.shields.io/static/v1?label=Product&message=openzeppelin-contracts&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%204.8.0%2C%20%3C%204.8.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-682%3A%20Incorrect%20Calculation&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/davidlpoole/eth-erc20-governance