{"id":"CVE-2023-34234","published":"2023-06-07T17:06:10Z","modified":"2025-02-06T16:55:49Z","title":"Governor proposal creation may be blocked by frontrunning in OpenZeppelin","vendor":"OpenZeppelin","product":"openzeppelin-contracts","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00707,"percentile":0.49047,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-5h3x-9wvq-w4m2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/d9474327a492f9f310f31bc53f38dbea56ed9a57","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.81},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-contracts","versions":[">=4.3.0, < 4.9.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-06T20:13:05.735831Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@openzeppelin/contracts","vulnerableRanges":[">=4.3.0, <4.9.1"],"patched":["4.9.1"],"from":["GHSA-5h3x-9wvq-w4m2"],"provenance":"source"},{"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","vulnerableRanges":[">=4.3.0, <4.9.1"],"patched":["4.9.1"],"from":["GHSA-5h3x-9wvq-w4m2"],"provenance":"source"}],"summary":{"text":"The openzeppelin-contracts library's Governor contract (version 4.9.0 only) and its GovernorCompatibilityBravo contract (since version 4.3.0) contain a flaw in proposal creation that allows a frontrunning attack. An attacker who can observe and front-run a proposal's creation transaction can become its proposer and then cancel it, and can repeat this to block the proposal from ever being created, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:55Z"},"euvd":{"id":"EUVD-2023-1704","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-26488","published":"2023-03-03","fixed":"4.8.2","kev":false},{"cve":"CVE-2023-30541","published":"2023-04-17","fixed":"4.8.3","kev":false,"link":{"from":"CVE-2023-30541","to":"CVE-2023-34234","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.8.3","toFixed":"4.9.1","daysApart":51},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.8.3","toFixed":"4.9.1","daysApart":51}]}},{"cve":"CVE-2023-30542","published":"2023-04-16","fixed":"4.8.3","kev":false},{"cve":"CVE-2023-34234","published":"2023-06-07","fixed":"4.9.1","kev":false},{"cve":"CVE-2023-34459","published":"2023-06-16","fixed":"4.9.2","kev":false,"link":{"from":"CVE-2023-34234","to":"CVE-2023-34459","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.9.1","toFixed":"4.9.2","daysApart":9},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.9.1","toFixed":"4.9.2","daysApart":9}]}},{"cve":"CVE-2023-40014","published":"2023-08-10","fixed":"4.9.3","kev":false},{"cve":"CVE-2023-49798","published":"2023-12-08","fixed":"4.9.5","kev":false}],"package":"npm:@openzeppelin/contracts"}}