CVE-2023-34234: OpenZeppelin Contracts is a library for smart contract development
CVE-2023-34234 is a medium-severity flaw (CVSS 5.3) affecting contracts, contracts upgradeable. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-862 |
| Published | 2023-06-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-34234?
contracts: upgrade to 4.9.1; contracts upgradeable: upgrade to 4.9.1. Exact commands for each OS are on this page.
Is CVE-2023-34234 being exploited?
CVE-2023-34234 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-34234 affect?
CVE-2023-34234 affects contracts, contracts upgradeable. Severity is medium (CVSS 5.3). 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
How urgent is CVE-2023-34234?
Priority 36/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-45304 MEDIUM 5.3 UPGRADE Cairo-Contracts are OpenZeppelin Contracts written in Cairo for Starknet, a decentralized ZK Rollup
- CVE-2024-27094 MEDIUM 6.5 UPGRADE UPGRADE OpenZeppelin Contracts is a library for secure smart contract development
- CVE-2023-49798 MEDIUM 5.9 DOWNGRADE DOWNGRADE OpenZeppelin Contracts is a library for smart contract development
- CVE-2023-34459 MEDIUM 5.3 UPGRADE UPGRADE OpenZeppelin Contracts is a library for smart contract development