Vulnerabilities · 2023 · Openzeppelin
CVE-2023-49798
Openzeppelin Contracts vulnerability
OpenZeppelin Contracts is a library for smart contract development. A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication. In the version of `Multicall.sol` released in `@openzeppelin/[email protected]` and `@openzeppelin/[email protected]`, all subcalls are executed twice. Concretely, this exposes a user to unintentionally duplicate operations like asset transfers. The duplicated delegatecall was removed in version 4.9.5. The 4.9.4 version is marked as deprecated. Users are advised to upgrade. There are no known workarounds for this issue.
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.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
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.