CVE-2023-34459

CVSS 3.1 Score 5.9 of 10 (medium)

Details

Published Jun 16, 2023
Updated: Jun 26, 2023
CWE ID 354

Summary

CVE-2023-34459 is a vulnerability affecting OpenZeppelin Contracts, a popular library for smart contract development. This issue, present in versions 4.7.0 to 4.9.1, allows for the construction of manipulated merkle trees that can forge a valid multiproof for any desired set of leaves. Contracts that utilize multiproofs for verification and process unhashed leaves or include nodes with a depth of 1 and a value of 0 are at risk. Version 4.9.2 of OpenZeppelin Contracts has addressed this vulnerability. To mitigate the risk, developers should hash leaves before constructing merkle trees, avoid empty nodes, and verify the merkle tree structure instead of accepting user-provided roots. Using the @openzeppelin/merkle-tree library is another effective solution.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2023-34459 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions