CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Openzeppelin

CVE-2023-26488
Openzeppelin Contracts vulnerability

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 products

Contracts, Contracts Upgradeable. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Openzeppelin Contracts runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Openzeppelin products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.