CVE-2023-49798: OpenZeppelin Contracts - Duplicate Execution
- Cve: CVE-2023-49798
- Name: OpenZeppelin Contracts - Duplicate Execution
- 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/[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.
- Impact: Users may unintentionally duplicate operations like asset transfers, leading to potential financial loss or inconsistent contract states.
- Remediation: Upgrade to version 4.9.5 or later where the duplicate delegatecall was removed.
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00543
- Epss percentile: 0.4651
- Assignee: [email protected]
- Published at: 2023-12-09T00:15:06Z
- Age in days: 1081
- Modified at: 2026-06-17T06:36:29Z
- Patch available: yes
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-49798
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-670 | Always-Incorrect Control Flow Implementation |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openzeppelin:contracts | = 4.9.4 | no | nvd | /v1/products/openzeppelin/contracts |
| openzeppelin:contracts_upgradeable | = 4.9.4 | no | nvd | /v1/products/openzeppelin/contracts_upgradeable |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openzeppelin/openzeppelin-contracts | commit, fix, package, security_advisory | yes | /v1/repositories/openzeppelin/openzeppelin-contracts |
| openzeppelin/openzeppelin-contracts-upgradeable | commit | yes | /v1/repositories/openzeppelin/openzeppelin-contracts-upgradeable |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts