Security Resilience

CVE-2023-28431

Parity Frontier ≤ 2023-03-15

Published
22 March 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0087 60th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-28431 is a high-severity Incorrect Calculation (CWE-682) vulnerability in Parity Frontier. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 40% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

Frontier is an Ethereum compatibility layer for Substrate. Frontier's `modexp` precompile uses `num-bigint` crate under the hood. In the implementation prior to pull request 1017, the cases for modulus being even and modulus being odd are treated separately. Odd modulus…

more

uses the fast Montgomery multiplication, and even modulus uses the slow plain power algorithm. This gas cost discrepancy was not accounted for in the `modexp` precompile, leading to possible denial of service attacks. No fixes for `num-bigint` are currently available, and thus this issue is fixed in the short term by raising the gas costs for even modulus, and in the long term fixing it in `num-bigint` or switching to another modexp implementation. The short-term fix for Frontier is deployed at pull request 1017. There are no known workarounds aside from applying the fix.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-45130Same product: Parity Frontier
CVE-2023-34449Same vendor: Parity
CVE-2026-101963Shared CWE-682
CVE-2026-43009Shared CWE-682
CVE-2026-114117Shared CWE-682
CVE-2026-7836Shared CWE-682
CVE-2024-6287Shared CWE-682
CVE-2023-35848Shared CWE-682
CVE-2026-45988Shared CWE-682
CVE-2026-20270Shared CWE-682

Affected Assets

parity
frontier
≤ 2023-03-15

Mitigating Controls

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect calculation flaws before deployment.

prevents

Secure coding standards directly prohibit unsafe arithmetic and require defensive checks against incorrect results.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw, and CWE-682 is primarily a first-party code defect (arithmetic, logic, pointer math) that lives in custom code A.8.8's scanning and inventory never read; the disclosed minority that surfaces as CVEs (e.g., CVE-2020-0022, CVE-2010-1378) is found, but the bulk is not, matching the same disclosure-bound `partial` shape as A.8.8 -> CWE-89.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-682, a pillar-level weakness, and none of its children carries one either.

References