CVSS Score of 10 (low)


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


CVE-2023-34459 is a vulnerability in OpenZeppelin Contracts library versions 4.7.0 to 4.9.2 that allows the forging of a valid multiproof for an arbitrary set of leaves when certain functions are used. The vulnerability occurs when a merkle tree processed by the contract includes a node with a value of 0 at depth 1. This can happen unintentionally for balanced trees with 3 or fewer leaves if the leaves are not hashed, or deliberately if a malicious tree builder includes such a node. Affected products include various versions of OpenZeppelin Contracts and related libraries. To remediate the vulnerability, contracts should avoid using multiproofs with unhashed leaves and instead use single-leaf proving or multiproofs with known trees that have hashed leaves. The potential danger to organizations is rated as medium, with high integrity impact and no confidentiality impact, according to the National Vulnerability Database (NVD) rating.


Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2023-34459 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options