Buffer overflow in OpenZeppelin Contracts - CVE-2023-26488

 

Buffer overflow in OpenZeppelin Contracts - CVE-2023-26488

Published: March 3, 2023


Vulnerability identifier: #VU72735
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-26488
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when the ERC721Consecutive contract does not update balances when a batch has size 1 and consists of a single token. A remote attacker can trigger memory corruption and cause a denial of service condition on the target system.


Affected software

OpenZeppelin Contracts
OpenZeppelin Contracts Upgradeable

How to mitigate CVE-2023-26488

Install updates from vendor's website.

OpenZeppelin Contracts - update to 4.8.2
OpenZeppelin Contracts Upgradeable - update to 4.8.2

External References

Related Security Bulletins