Advisory

GHSA-699g-q6qh-q4v8

Also known as: CVE-2023-49798

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-12-12 00:49 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

@openzeppelin/contracts

npm · All systems

Affected

  • introduced 4.9.4, fixed 4.9.5 (semver)

Fixed versions

4.9.5

Fix

@openzeppelin/contracts-upgradeable

npm · All systems

Affected

  • introduced 4.9.4, fixed 4.9.5 (semver)

Fixed versions

4.9.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences