CVE-2023-26488
published 2023-03-03CVE-2023-26488: OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update…
PriorityP432medium6.5CVSS 3.1
AVNACLPRLUINSUCNIHAN
EPSS
0.71%
49.5th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| openzeppelin | contracts | >= 4.8.0 < 4.8.2 | 4.8.2 |
| openzeppelin | contracts | >= 4.8.0 < 4.8.2 | 4.8.2 |
| openzeppelin | contracts-upgradeable | >= 4.8.0 < 4.8.2 | 4.8.2 |
| openzeppelin | contracts_upgradeable | >= 4.8.0 < 4.8.2 | 4.8.2 |
| openzeppelin | openzeppelin-contracts | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
OpenZeppelin Contracts contains Incorrect Calculation
osv·2023-03-03
CVE-2023-26488 [MEDIUM] OpenZeppelin Contracts contains Incorrect Calculation
OpenZeppelin Contracts contains Incorrect Calculation
### Impact
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.
### Patches
The issue has been patched in 4.8.2.
GHSA
OpenZeppelin Contracts contains Incorrect Calculation
ghsa·2023-03-03
CVE-2023-26488 [MEDIUM] CWE-682 OpenZeppelin Contracts contains Incorrect Calculation
OpenZeppelin Contracts contains Incorrect Calculation
### Impact
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.
### Patches
The issue has been patched in 4.8.2.
No detection rules found.
No public exploits indexed.
https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594qhttps://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q
2023-03-03
Published