5.3medium
Governor proposal creation may be blocked by frontrunning in OpenZeppelin
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.60% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5h3x-9wvq-w4m2
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenZeppelin openzeppelin-contracts | >=4.3.0, < 4.9.1 | CVE List |
| @openzeppelin/contracts (npm) | from 4.3.0 before 4.9.1 | GitHub Advisory Database |
| @openzeppelin/contracts-upgradeable (npm) | from 4.3.0 before 4.9.1 | GitHub Advisory Database |
| openzeppelin contracts | from 4.3.0 before 4.9.1 | NVD |
| openzeppelin contracts_upgradeable | from 4.3.0 before 4.9.1 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
The problem has been patched in 4.9.1 by introducing opt-in frontrunning protection.
Workarounds
Submit the proposal creation transaction to an endpoint with frontrunning protection.
Credit
Reported by Lior Abadi and Joaquin Pereyra from Coinspect.
References
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-34234 changed 2025-02-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5h3x-9wvq-w4m2 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-34234 changed 2026-06-17 | Public domain |