Skip to content

OpenZeppelin Contracts and Contracts Upgradeable duplicated execution of subcalls in v4.9.4

Moderate severity GitHub Reviewed Published Dec 8, 2023 in OpenZeppelin/openzeppelin-contracts • Updated Dec 12, 2023

Package

npm @openzeppelin/contracts (npm)

Affected versions

= 4.9.4

Patched versions

4.9.5
npm @openzeppelin/contracts-upgradeable (npm)
= 4.9.4
4.9.5

Description

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.

References

Published by the National Vulnerability Database Dec 9, 2023
Published to the GitHub Advisory Database Dec 12, 2023
Reviewed Dec 12, 2023
Last updated Dec 12, 2023

Severity

Moderate
5.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2023-49798

GHSA ID

GHSA-699g-q6qh-q4v8
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.