Incorrect calculation in OpenZeppelin Contracts - CVE-2022-31198
Published: August 26, 2022
Vulnerability identifier: #VU66782
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31198
CWE-ID: CWE-682
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to an incorrect calculation in the "GovernorVotesQuorumFraction" module. A remote attacker can perform arbitrary action in the target system.
Affected software
OpenZeppelin Contracts
How to mitigate CVE-2022-31198
Install updates from vendor's website.
OpenZeppelin Contracts - update to 4.7.2