CVE-2023-30542
GovernorCompatibilityBravo may trim proposal calldata
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-04-12 CVE Reserved
- 2023-04-16 CVE Published
- 2024-08-02 CVE Updated
- 2024-11-06 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3 | Release Notes |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-93hq-5wgc-jc82 | 2023-04-27 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Openzeppelin Search vendor "Openzeppelin" | Contracts Search vendor "Openzeppelin" for product "Contracts" | >= 4.3.0 < 4.8.3 Search vendor "Openzeppelin" for product "Contracts" and version " >= 4.3.0 < 4.8.3" | node.js |
Affected
| ||||||
Openzeppelin Search vendor "Openzeppelin" | Contracts Upgradeable Search vendor "Openzeppelin" for product "Contracts Upgradeable" | >= 4.3.0 < 4.8.3 Search vendor "Openzeppelin" for product "Contracts Upgradeable" and version " >= 4.3.0 < 4.8.3" | node.js |
Affected
|