GovernorCompatibilityBravo may trim proposal calldata
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-30542
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 21:25 UTC · Revision 1
Source evidence
GovernorCompatibilityBravo may trim proposal calldata
core-osv · Original sourcePublished 16 Apr 2023, 07:10 UTC
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.
osv:CVE-2023-30542
Complete source record
{
"id": "4d009c2e201c23213591131b72f46053a16ead1c2dde9734e7ad98ace35be8a5",
"url": "https://osv.dev/vulnerability/CVE-2023-30542",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "GovernorCompatibilityBravo may trim proposal calldata",
"summary": "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.",
"evidence": "osv:CVE-2023-30542",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-30542",
"aliases": [
"CVE-2023-30542",
"GHSA-93hq-5wgc-jc82"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openzeppelin/openzeppelin-contracts",
"type": "GIT",
"events": [
{
"introduced": "1d2e15fbd7314f4f60b47d97d9b852aacd5404f7"
},
{
"fixed": "0a25c1940ca220686588c4af3ec526f725fe2582"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.8.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0a25c1940ca220686588c4af3ec526f725fe2582"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.8.3"
},
{
"cpe": "cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.8.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.8.3"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/openzeppelin/openzeppelin-contracts-upgradeable",
"type": "GIT",
"events": [
{
"introduced": "618d129b52c14aea8d37a413e4c8b643439abe73"
},
{
"fixed": "58fa0f81c4036f1a3b616fdffad2fd27e5d5ce21"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.8.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-30542.json"
}
}
],
"modified": "2026-10-28T02:30:23.671794986Z",
"provider": "osv",
"references": [
"https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30542.json",
"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-93hq-5wgc-jc82",
"https://nvd.nist.gov/vuln/detail/CVE-2023-30542"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/30xxx/CVE-2023-30542.json"
}
},
"related_cves": [
{
"value": "CVE-2023-30542",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490230,
"published_at": "2023-04-16T07:10:13.474+00:00"
}