{"id":"CVE-2023-34234","summary":"Governor proposal creation may be blocked by frontrunning in OpenZeppelin","details":" OpenZeppelin Contracts is a library for smart contract development. By frontrunning the creation of a proposal, an attacker can become the proposer and gain the ability to cancel it. The attacker can do this repeatedly to try to prevent a proposal from being proposed at all. This impacts the `Governor` contract in v4.9.0 only, and the `GovernorCompatibilityBravo` contract since v4.3.0. This problem has been patched in 4.9.1 by introducing opt-in frontrunning protection. Users are advised to upgrade. Users unable to upgrade may submit the proposal creation transaction to an endpoint with frontrunning protection as a workaround.","aliases":["GHSA-5h3x-9wvq-w4m2"],"modified":"2026-04-14T04:41:57.700685Z","published":"2023-06-07T17:06:10.154Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34234.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34234.json"},{"type":"ADVISORY","url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5h3x-9wvq-w4m2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34234"},{"type":"FIX","url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/d9474327a492f9f310f31bc53f38dbea56ed9a57"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openzeppelin/openzeppelin-contracts","events":[{"introduced":"1d2e15fbd7314f4f60b47d97d9b852aacd5404f7"},{"fixed":"281550b71c3df9a83e6b80ceefc700852c287570"},{"fixed":"d9474327a492f9f310f31bc53f38dbea56ed9a57"}],"database_specific":{"extracted_events":[{"introduced":"4.3.0"},{"fixed":"4.9.1"}],"source":["CPE_FIELD","REFERENCES"],"cpe":["cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*","cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*"]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-34234.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}