PT-2023-22769

CVE-2023-30542

·

Published

2023-04-16

·

Updated

2023-04-27

Description by

CVSS 3.1
6.8
Medium
MetricsAV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
Name of the Vulnerable Software and Affected Versions OpenZeppelin Contracts versions prior to 4.8.3
Description 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.
Recommendations For versions prior to 4.8.3, update to version 4.8.3 to resolve the issue. As a temporary workaround, ensure that all proposals that pass through governance have equal length signatures and calldatas parameters.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-93HQ-5WGC-JC82
Found an issue in the description? Have something to add? Feel free to write us 👾