CVE-2023-49798
published 2023-12-09CVE-2023-49798: 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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.54%
42.0th percentile
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
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| openzeppelin | contracts | — | — |
| openzeppelin | contracts | >= 4.9.4 < 4.9.5 | 4.9.5 |
| openzeppelin | contracts-upgradeable | >= 4.9.4 < 4.9.5 | 4.9.5 |
| openzeppelin | contracts_upgradeable | — | — |
| openzeppelin | openzeppelin-contracts | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
osv·2023-12-12
CVE-2023-49798 [MEDIUM] OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
### 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/[email protected]` and `@openzeppelin/[email protected]` 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.
GHSA
OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
ghsa·2023-12-12
CVE-2023-49798 [MEDIUM] CWE-670 OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4
### 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/[email protected]` and `@openzeppelin/[email protected]` 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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8https://github.com/OpenZeppelin/openzeppelin-contracts/commit/88ac712e06832bce73b41e8166cded2729e25205https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-699g-q6qh-q4v8
2023-12-09
Published