Vulnerability Details : CVE-2023-30542
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 category: Input validation
Products affected by CVE-2023-30542
- cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
- Openzeppelin » Contracts Upgradeable » For Node.jsVersions from including (>=) 4.3.0 and before (<) 4.8.3cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-30542
0.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 53 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-30542
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
6.8
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
2.1
|
4.7
|
GitHub, Inc. |
CWE ids for CVE-2023-30542
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2023-30542
-
https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3
Release v4.8.3 · OpenZeppelin/openzeppelin-contracts · GitHubRelease Notes
-
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-93hq-5wgc-jc82
GovernorCompatibilityBravo may trim proposal calldata · Advisory · OpenZeppelin/openzeppelin-contracts · GitHubVendor Advisory
Jump to