Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2023-30542
April 16, 2023
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.
Affected Packages
@openzeppelin/contracts-upgradeable (NPM):
Affected version(s) >=4.3.0 <4.8.3
Fix Suggestion:
Update to version 4.8.3
@openzeppelin/contracts (NPM):
Affected version(s) >=4.3.0 <4.8.3
Fix Suggestion:
Update to version 4.8.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.23