Moderate severityNVD Advisory· Published Dec 8, 2023· Updated Aug 2, 2024
Duplicated execution of subcalls in OpenZeppelin Contracts
CVE-2023-49798
Description
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/contracts@4.9.4 and @openzeppelin/contracts-upgradeable@4.9.4, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@openzeppelin/contractsnpm | >= 4.9.4, < 4.9.5 | 4.9.5 |
@openzeppelin/contracts-upgradeablenpm | >= 4.9.4, < 4.9.5 | 4.9.5 |
Affected products
3- ghsa-coords2 versions
>= 4.9.4, < 4.9.5+ 1 more
- (no CPE)range: >= 4.9.4, < 4.9.5
- (no CPE)range: >= 4.9.4, < 4.9.5
- Range: = 4.9.4
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-699g-q6qh-q4v8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-49798ghsaADVISORY
- github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/31f9fb9d171f60b2271b2b9c6f62d43302bf9489ghsaWEB
- github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205ghsax_refsource_MISCWEB
- github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.