Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-699g-q6qh-q4v8: 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
#vulnerability#nodejs#git

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/[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.

References

  • GHSA-699g-q6qh-q4v8
  • https://nvd.nist.gov/vuln/detail/CVE-2023-49798
  • OpenZeppelin/openzeppelin-contracts-upgradeable@31f9fb9
  • OpenZeppelin/openzeppelin-contracts@88ac712

Amxx published to OpenZeppelin/openzeppelin-contracts

Dec 8, 2023

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

Related news

CVE-2023-49798: Duplicated execution of subcalls in v4.9.4

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.