8.8
CVSSv3

CVE-2023-30542

Published: 16/04/2023 Updated: 27/04/2023
CVSS v3 Base Score: 8.8 | Impact Score: 5.9 | Exploitability Score: 2.8
VMScore: 0

Vulnerability Summary

OpenZeppelin Contracts is a library for secure smart contract development. The proposal creation entrypoint (`propose`) in `GovernorCompatibilityBravo` allows the creation of proposals with a `signatures` array shorter than the `calldatas` array. This causes the additional elements of the latter to be ignored, and if the proposal succeeds the corresponding actions would eventually execute without any calldata. The `ProposalCreated` event correctly represents what will eventually execute, but the proposal parameters as queried through `getActions` appear to respect the original intended calldata. This issue has been patched in 4.8.3. As a workaround, ensure that all proposals that pass through governance have equal length `signatures` and `calldatas` parameters.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

openzeppelin contracts upgradeable

openzeppelin contracts

Github Repositories

Deploy a decentralised governance system to the Ethereum Sepolia testnet

🏁 ERC-20 Governance on Sepolia Utilise OpenZeppelin's Governance contract wizard to deploy a decentralised governance system which allows a user to create a proposal (which contains some proposed code to execute), then allow all users (who hold the 'MyToken' ERC20 token which is deployed at the same time) to cast votes on whether the proposal should be accepte