CVE & CISA-KEV Catalog

CVE-2022-31198

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
contractsNVD
Affected:>= 4.3.0, < 4.7.2Fixed in:4.7.2CVE-2022-31198derived from NVD
contracts upgradeableNVD
Affected:>= 4.3.0, < 4.7.2Fixed in:4.7.2CVE-2022-31198derived from NVD

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.73%probability of exploitation in 30 days
51stpercentile

Moderate risk: more likely to be exploited than 51% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-682 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-30780High7.556%-Fix
CVE-2020-14422Medium5.913%-Fix
CVE-2016-7433Medium5.39.8%-Fix
CVE-2023-35641High8.87.2%-Fix
CVE-2018-8319Critical9.87.0%--
CVE-2020-0022High8.86.1%-Fix

Common questions

How do I fix CVE-2022-31198?

Published advisories record a fix for 2 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-31198 being actively exploited?

Not that we know of. CVE-2022-31198 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.73% is the estimated probability that it will be exploited in the next 30 days. That is higher than 51% of all scored CVEs.

How severe is CVE-2022-31198?

CVE-2022-31198 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-31198 affect?

Published advisories record a fix for contracts (NVD), contracts upgradeable (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-31198
CVE-2022-31198 severity badge

Markdown

[![CVE-2022-31198](https://tridentstack.com/cve/badge/CVE-2022-31198.svg)](https://tridentstack.com/cve/CVE-2022-31198)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31198"><img src="https://tridentstack.com/cve/badge/CVE-2022-31198.svg" alt="CVE-2022-31198"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.