CVE-2023-30542Improper Input Validation in Contracts

Severity
8.8HIGHNVD
EPSS
0.4%
top 40.82%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 16
Latest updateApr 20

Description

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages5 packages

NVDopenzeppelin/contracts4.3.04.8.3
npmopenzeppelin/contracts4.3.04.8.3
CVEListV5openzeppelin/openzeppelin-contracts>= 4.3.0, < 4.8.3

🔴Vulnerability Details

2
GHSA
GovernorCompatibilityBravo may trim proposal calldata2023-04-20
OSV
GovernorCompatibilityBravo may trim proposal calldata2023-04-20