{"id":"CVE-2022-31198","published":"2022-08-01T21:00:17Z","modified":"2025-04-23T17:55:03Z","title":"GovernorVotesQuorumFraction updates to quorum may affect past defeated proposals in @openzeppelin/contracts","vendor":"OpenZeppelin","product":"openzeppelin-contracts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00846,"percentile":0.5543,"provenance":"source"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-xrc4-737v-9q75","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3561","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.09},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-contracts","versions":[">= 4.3.0, < 4.7.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:52:48.638535Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@openzeppelin/contracts","vulnerableRanges":[">=4.3.0, <4.7.2"],"patched":["4.7.2"],"from":["GHSA-xrc4-737v-9q75"],"provenance":"source"},{"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","vulnerableRanges":[">=4.3.0, <4.7.2"],"patched":["4.7.2"],"from":["GHSA-xrc4-737v-9q75"],"provenance":"source"}],"summary":{"text":"The flaw lies in the GovernorVotesQuorumFraction module of OpenZeppelin's openzeppelin-contracts library, which computes a Governor's quorum requirement as a percentage of the voting token's total supply. An attacker who can get a proposal passed that lowers the quorum requirement can cause past proposals that were defeated solely for lacking quorum to become executable if their vote count now meets the new threshold, with no special network position, authentication or user interaction needed beyond the governance action itself.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:21Z"},"euvd":{"id":"EUVD-2022-6647","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-39384","published":"2022-11-04","fixed":"4.4.1","kev":false},{"cve":"CVE-2022-31170","published":"2022-07-21","fixed":"4.7.1","kev":false},{"cve":"CVE-2022-31172","published":"2022-07-21","fixed":"4.7.1","kev":false,"link":{"from":"CVE-2022-31172","to":"CVE-2022-31198","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.7.1","toFixed":"4.7.2","daysApart":11},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.7.1","toFixed":"4.7.2","daysApart":11}]}},{"cve":"CVE-2022-31198","published":"2022-08-01","fixed":"4.7.2","kev":false},{"cve":"CVE-2022-35915","published":"2022-08-01","fixed":"4.7.2","kev":false},{"cve":"CVE-2022-35916","published":"2022-08-01","fixed":"4.7.2","kev":false},{"cve":"CVE-2022-35961","published":"2022-08-14","fixed":"4.7.3","kev":false,"link":{"from":"CVE-2022-31198","to":"CVE-2022-35961","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts","fromFixed":"4.7.2","toFixed":"4.7.3","daysApart":13},{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.7.2","toFixed":"4.7.3","daysApart":13}]}}],"package":"npm:@openzeppelin/contracts"}}