{"id":"CVE-2023-34234","aliases":["CVE-2023-34234","GHSA-5h3x-9wvq-w4m2"],"related":[],"kind":"vulnerability","state":"published","title":"Governor proposal creation may be blocked by frontrunning in OpenZeppelin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nBy 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.\n\nThis impacts the `Governor` contract in v4.9.0 only, and the `GovernorCompatibilityBravo` contract since v4.3.0.\n\n### Patches\n\nThe problem has been patched in 4.9.1 by introducing opt-in frontrunning protection.\n\n### Workarounds\n\nSubmit the proposal creation transaction to an endpoint with frontrunning protection.\n\n### Credit\n\nReported by Lior Abadi and Joaquin Pereyra from Coinspect.\n\n### References\n\nhttps://www.coinspect.com/openzeppelin-governor-dos/","format":"markdown","source":"ghsa"}],"published":"2023-06-07T17:06:10.154Z","modified":"2026-09-10T03:50:02.116Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":">=4.3.0, < 4.9.1","status":"affected"}],"vendor":"OpenZeppelin","product":"openzeppelin-contracts","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.3.0","status":"affected","fixed":"4.9.1"}],"ecosystem":"npm","package":"@openzeppelin/contracts","purl":"pkg:npm/%40openzeppelin/contracts","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"4.3.0","status":"affected","fixed":"4.9.1"}],"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","purl":"pkg:npm/%40openzeppelin/contracts-upgradeable","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.3.0","fixed":"4.9.1"}],"vendor":"openzeppelin","product":"contracts","cpe":"cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"4.3.0","fixed":"4.9.1"}],"vendor":"openzeppelin","product":"contracts_upgradeable","cpe":"cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5h3x-9wvq-w4m2","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/d9474327a492f9f310f31bc53f38dbea56ed9a57","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34234","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/commit/66f390fa516b550838e2c2f65132b5bc2afe1ced","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.9.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-01-06T20:13:05.735Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34234","url":"https://www.cve.org/CVERecord?id=CVE-2023-34234","licence":"CVE Terms of Use","modified":"2025-02-06T16:55:49.744Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5h3x-9wvq-w4m2","url":"https://github.com/advisories/GHSA-5h3x-9wvq-w4m2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:02.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34234","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34234","licence":"Public domain","modified":"2026-06-17T06:03:11.140Z"}],"updatedAt":"2026-11-25T22:58:24.669Z","epss":{"score":0.00595,"percentile":0.49782,"date":"2026-12-01T12:00:22.000Z"}}