Skip to main content
← All vulnerabilities
CVE-2023-26488GHSA-878M-3G6Q-594Q

OpenZeppelin Contracts contains Incorrect Calculation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.8.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenZeppelin openzeppelin-contracts

    From 4.8.0 · fixed in 4.8.2

  • @openzeppelin/contractsnpm

    From 4.8.0 · fixed in 4.8.2

  • @openzeppelin/contracts-upgradeablenpm

    From 4.8.0 · fixed in 4.8.2

References 3

GitHub · OpenZeppelin/openzeppelin-contracts