#VU66782 Incorrect calculation in OpenZeppelin Contracts


Published: 2022-08-26

Vulnerability identifier: #VU66782

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31198

CWE-ID: CWE-682

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OpenZeppelin Contracts
Universal components / Libraries / Libraries used by multiple products

Vendor: OpenZeppelin

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

OpenZeppelin Contracts: 4.3.0 - 4.7.1


External links
http://github.com/OpenZeppelin/openzeppelin-contracts/pull/3561
http://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-xrc4-737v-9q75


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability