CVE-2023-49798CWE-670

Duplicated execution of subcalls in OpenZeppelin Contracts

Medium · published December 8, 2023

CVSS v3.1
5.9
EPSS
1%
Percentile
44.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00543 · 44.8th percentile
Weakness
CWE-670 · Always-Incorrect Control Flow Implementation
Published
2023-12-08T23:35Z
EPSS history
Timeline
  • 08 DEC 23:35Z
    Duplicated execution of subcalls in OpenZeppelin Contracts
    cvelistv5