PT-2022-20606 · Openzeppelin · Openzeppelin Contracts

Published

2022-08-01

·

Updated

2022-12-06

·

CVE-2022-31198

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions OpenZeppelin Contracts versions prior to 4.7.2
Description 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 the issue is being actively monitored for new occurrences.
Recommendations For versions prior to 4.7.2, upgrade to v4.7.2 to resolve the issue. As a temporary workaround for users unable to upgrade, consider avoiding lowering quorum requirements if a past proposal was defeated for lack of quorum.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2022-31198
GHSA-XRC4-737V-9Q75

Affected Products

Openzeppelin Contracts