Vulnerability in Openzeppelin Contracts
CVE-2023-49798
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/contracts@4.9.4` and `@openzeppelin/contracts-upgradeable@4.9.4`, 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.
EPSS: 0.005 (42.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Openzeppelin Contracts — versions 4.9.4
- Openzeppelin Contracts_upgradeable — versions 4.9.4
- Openzeppelin Openzeppelin-contracts — versions = 4.9.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-49798?
- CVE-2023-49798 is a medium-severity vulnerability in Openzeppelin Contracts, classified under Always-Incorrect Control Flow Implementation. CVSS score: 5.9/10. Published 2023-12-09.
- How severe is CVE-2023-49798?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2023-49798 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.