PT-2023-31356 · Openzeppelin · @Openzeppelin/Contracts-Upgradeable+1
Amxx
·
Published
2023-12-08
·
Updated
2023-12-13
·
CVE-2023-49798
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
@openzeppelin/contracts versions 4.9.4
@openzeppelin/contracts-upgradeable versions 4.9.4
Description
A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication in the
Multicall.sol file. This results in all subcalls being executed twice, exposing users to unintentionally duplicate operations like asset transfers.Recommendations
For @openzeppelin/contracts version 4.9.4, upgrade to version 4.9.5 to resolve the issue.
For @openzeppelin/contracts-upgradeable version 4.9.4, upgrade to version 4.9.5 to resolve the issue.
As a temporary workaround, consider restricting the use of the
Multicall.sol file until a patch is applied.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openzeppelin Contracts
@Openzeppelin/Contracts-Upgradeable