First published: Fri Dec 08 2023(Updated: )
### Context Merge conflict resolution issue when porting the v5.0.1 `Multicall` update to the v4.9 branch caused a duplicated line. ### Impact Versions using `Multicall` from `@openzeppelin/contracts@4.9.4` and `@openzeppelin/contracts-upgradeable@4.9.4` will execute each subcall twice. Concretely, this exposes a user to unintentionally duplicate operations like asset transfers. ### Patches The duplicated `delegatecall` was removed in 4.9.5. The 4.9.4 version is marked as deprecated.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
npm/@openzeppelin/contracts-upgradeable | =4.9.4 | 4.9.5 |
npm/@openzeppelin/contracts | =4.9.4 | 4.9.5 |
OpenZeppelin Contracts | =4.9.4 | |
OpenZeppelin Contracts Upgradeable | =4.9.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-49798 is considered to have a high severity due to the potential for unexpected behavior in contract execution.
To fix CVE-2023-49798, upgrade to version 4.9.5 of the affected packages @openzeppelin/contracts and @openzeppelin/contracts-upgradeable.
CVE-2023-49798 affects version 4.9.4 of both @openzeppelin/contracts and @openzeppelin/contracts-upgradeable.
The impact of CVE-2023-49798 includes the potential for executing unintended subcalls in contracts using Multicall.
You can verify if you are affected by checking the version of @openzeppelin/contracts and @openzeppelin/contracts-upgradeable to see if they are at 4.9.4.