PT-2020-16370 · Ethereum · Geth

Holiman

·

Published

2020-11-25

·

Updated

2021-07-28

·

CVE-2020-26242

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Geth versions prior to 1.9.18
Description The issue is a Denial-of-service (crash) during block processing, which can be exploited through the MULMOD operation by specifying a modulo of 0: mulmod(a,b,0), causing a panic in the underlying library. This occurs due to improper bounds checking in certain mathematical operations, potentially allowing for a denial of service attack if untrusted user inputs are processed. The vulnerability can cause all vulnerable nodes to drop off the network.
Recommendations For versions prior to 1.9.18, upgrade to v1.9.18 or higher to resolve the issue. As a temporary workaround, consider restricting the use of the MULMOD operation with a modulo of 0 to minimize the risk of exploitation.

Fix

Out of bounds Read

Integer Underflow

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-26242
GHSA-JM5C-RV3W-W83M
GO-2021-0103

Affected Products

Geth