Vulnerabilities · 2022 · Parity
CVE-2022-21685
Parity Frontier vulnerability
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.
Affected products
Frontier. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Parity Frontier runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/paritytech/frontier/commit/8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664 · Patch
- github.com/paritytech/frontier/pull/549 · Patch
- github.com/paritytech/frontier/security/advisories/GHSA-cjg2-2fjg-fph4 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-21685
- github.com/advisories/GHSA-cjg2-2fjg-fph4
- nvd.nist.gov/vuln/detail/CVE-2022-21685
- cve.org/CVERecord?id=CVE-2022-21685
More vulnerabilities in Parity products
CVE-2023-45130CVE-2023-34449CVE-2023-28431CVE-2022-39242CVE-2022-36008CVE-2022-31111CVE-2021-41138CVE-2021-39193All 14
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.