CVE-2023-26488
OpenZeppelin Contracts contains Incorrect Calculation
6.5
MEDIUM
CVSS 3.1
EPSS 0.32%
Description
### 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. <!-- ### References -->
How to fix CVE-2023-26488
To remediate CVE-2023-26488, upgrade the affected package to a fixed version below.
- —upgrade to 4.8.2 or later
- —upgrade to 4.8.2 or later
Is CVE-2023-26488 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 4.8.0, < 4.8.2
- >= 4.8.0, < 4.8.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |