CVE-2022-21685
CVSS V2 Medium 4
CVSS V3 Medium 6.5
Description
Frontier is Substrate's Ethereum compatibility layer. Prior to commit number `8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664`, a bug in Frontier's MODEXP precompile implementation can cause an integer underflow in certain conditions. This will cause a node crash for debug builds. For release builds (and production WebAssembly binaries), the impact is limited as it can only cause a normal EVM out-of-gas. Users who do not use MODEXP precompile in their runtime are not impacted. A patch is available in pull request #549.
Overview
- CVE ID
- CVE-2022-21685
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-14T17:15:13
- Last Modified Date
- 2022-01-21T20:40:36
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:parity:frontier:*:*:*:*:*:*:*:* | 1 | OR | 2022-01-13 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 6.5
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/paritytech/frontier/security/advisories/GHSA-cjg2-2fjg-fph4 | Patch Third Party Advisory |
https://github.com/paritytech/frontier/pull/549 | Patch Third Party Advisory |
https://github.com/paritytech/frontier/commit/8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-21685 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21685 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:36:44 | Added to TrackCVE | |||
2022-12-06 06:37:35 | 2022-01-14T17:15Z | 2022-01-14T17:15:13 | CVE Published Date | updated |
2022-12-06 06:37:35 | 2022-01-21T20:40:36 | CVE Modified Date | updated | |
2022-12-06 06:37:35 | Analyzed | Vulnerability Status | updated |