Always-Incorrect Control Flow Implementation Affecting @openzeppelin/contracts package, versions >=4.9.4 <4.9.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-OPENZEPPELINCONTRACTS-6114711
  • published10 Dec 2023
  • disclosed9 Dec 2023
  • creditUnknown

Introduced: 9 Dec 2023

CVE-2023-49798  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

Upgrade @openzeppelin/contracts to version 4.9.5 or higher.

Overview

@openzeppelin/contracts is a library for contract development.

Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation due to an issue with the Multicall.sol implementation. An attacker can cause unintended duplicate operations, such as asset transfers, by exploiting the fact that all subcalls are executed twice.

References

CVSS Scores

version 3.1