LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31111: Discrepency in transfer value and actual value due to incorrect truncation in Frontier

Frontier is Substrate's Ethereum compatibility layer. In affected versions the truncation done when converting between EVM balance type and Substrate balance type was incorrectly implemented. This leads to possible discrepancy between appeared EVM transfer value and actual Substrate value transferred. It is recommended that an emergency upgrade to be planned and EVM execution temporarily paused in the mean time. The issue is patched in Frontier master branch commit fed5e0a9577c10bea021721e8c2c5c378e16bf66 and polkadot-v0.9.22 branch commit e3e427fa2e5d1200a784679f8015d4774cedc934. This vulnerability affects only EVM internal states, but not Substrate balance states or node. You can temporarily pause EVM execution (by setting up a Substrate `CallFilter` that disables `pallet-evm` and `pallet-ethereum` calls before the patch can be applied.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Frontier's EVM compatibility layer could show one transfer value while moving a different underlying Substrate amount because balance truncation was wrong. For organizations running affected Frontier commits, this is an integrity issue around EVM-accounting accuracy, not a node takeover or Substrate balance compromise according to the advisory.

Executive priority

Treat as a time-sensitive integrity issue for Frontier-based chains with EVM enabled. It is not described as critical infrastructure compromise, but incorrect transfer accounting can create financial and trust impact, so upgrade or pause EVM execution promptly.

Technical view

Affected Frontier commits incorrectly truncated values when converting between EVM balance types and Substrate balance types. This can create a discrepancy between the displayed EVM transfer value and the actual Substrate value transferred. Sources identify fixes in Frontier master commit fed5e0a9577c10bea021721e8c2c5c378e16bf66 and polkadot-v0.9.22 commit e3e427fa2e5d1200a784679f8015d4774cedc934.

Likely exposure

Exposure is limited to deployments using ParityTech Frontier before the named fix commits, especially chains with EVM execution enabled. The source states the issue affects EVM internal state, not Substrate balance state or the node itself.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not marked KEV. The risk is unauthorized integrity impact through value discrepancies in EVM transfer handling, but the bundle does not provide evidence of public weaponization.

Researcher notes

Focus review on EVM-to-Substrate balance conversion and truncation behavior before the fix commits. The advisory explicitly limits impact to EVM internal states, so avoid broad claims about node compromise, Substrate balance corruption, or confirmed exploitation without additional evidence.

Mitigation direction

  • Plan an emergency upgrade to a Frontier build containing the named fix commits.
  • Apply the patched master or polkadot-v0.9.22 branch commit, as applicable.
  • Temporarily pause EVM execution until patched.
  • Use a Substrate CallFilter to disable pallet-evm and pallet-ethereum calls if unpatched.
  • Check ParityTech advisory updates before resuming normal EVM operation.

Validation and detection

  • Inventory Frontier commit hashes across all affected chain runtimes.
  • Confirm deployed code includes fed5e0a9577c10bea021721e8c2c5c378e16bf66 or e3e427fa2e5d1200a784679f8015d4774cedc934.
  • Verify whether pallet-evm and pallet-ethereum calls remain enabled on unpatched runtimes.
  • Review recent EVM transfers for unexplained displayed-versus-actual value discrepancies.
  • Confirm Substrate balance state remains consistent after remediation.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-670: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31111 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N3.91.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2022-31111Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
paritytechfrontiercommits prior to fed5e0a9577c10bea021721e8c2c5c378e16bf66Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-670 · source CWE mapping

Always-Incorrect Control Flow Implementation

Always-Incorrect Control Flow Implementation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.