CVE-2022-31198
Last modified
CVE-2022-31198 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. OpenZeppelin Contracts is a library for secure smart contract development. This issue concerns instances of Governor that use the module `GovernorVotesQuorumFraction`, a mechanism that determines quorum requirements as a percentage of the voting token's total supply. EPSS estimates a 0.63% chance of exploitation in the next 30 days.
Description
OpenZeppelin Contracts is a library for secure smart contract development. This issue concerns instances of Governor that use the module `GovernorVotesQuorumFraction`, a mechanism that determines quorum requirements as a percentage of the voting token's total supply. In affected instances, when a proposal is passed to lower the quorum requirements, past proposals may become executable if they had been defeated only due to lack of quorum, and the number of votes it received meets the new quorum requirement. Analysis of instances on chain found only one proposal that met this condition, and we are actively monitoring for new occurrences of this particular issue. This issue has been patched in v4.7.2. Users are advised to upgrade. Users unable to upgrade should consider avoiding lowering quorum requirements if a past proposal was defeated for lack of quorum.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openzeppelin | Contracts | >= 4.3.0, < 4.7.2 |
| Openzeppelin | Contracts Upgradeable | >= 4.3.0, < 4.7.2 |
References
- https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3561Patch, Third Party Advisory
- https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3561Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31198?
How severe is CVE-2022-31198?
How do I fix CVE-2022-31198?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31192DSpace open source software is a repository application whic…6.1
- CVE-2022-31193DSpace open source software is a repository application whic…6.1
- CVE-2022-31194DSpace open source software is a repository application whic…7.2
- CVE-2022-31195DSpace open source software is a repository application whic…7.2
- CVE-2022-31196Databasir is a database metadata management platform. Databa…7.5
- CVE-2022-31197PostgreSQL JDBC Driver (PgJDBC for short) allows Java progra…8
- CVE-2022-31199Remote code execution vulnerabilities exist in the Netwrix A…9.8
- CVE-2022-3120A vulnerability classified as critical was found in SourceCo…9.8
- CVE-2022-31200Atmail 5.62 allows XSS via the mail/parse.php?file=html/$thi…6.1
- CVE-2022-31201SoftGuard Web (SGW) before 5.1.5 allows HTML injection.5.4
- CVE-2022-31202The export function in SoftGuard Web (SGW) before 5.1.5 allo…6.5
- CVE-2022-31204Omron CS series, CJ series, and CP series PLCs through 2022-…7.5
Are you affected by CVE-2022-31198?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
