PT-2018-10944 · Ethereum · Geth

Published

2018-07-05

·

Updated

2022-05-14

·

CVE-2018-12018

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions geth versions prior to 1.8.11
Description The issue is related to an integer signedness error in the GetBlockHeadersMsg handler of the LES protocol implementation, which can lead to an access violation. This allows attackers to launch a Denial of Service attack by sending a packet with a -1 query.Skip value, causing the vulnerable remote node to crash immediately. The issue is also known as the EPoD (Ethereum Packet of Death) issue. Improper argument validation in RPC messages can also cause a panic, leading to denial of service.
Recommendations For versions prior to 1.8.11, update to version 1.8.11 or later to resolve the issue. As a temporary workaround, consider restricting access to the GetBlockHeadersMsg handler to minimize the risk of exploitation. Avoid using the query.Skip value in the affected API endpoint until the issue is resolved.

Exploit

Fix

Improper Validation of Array Index

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

Weakness Enumeration

Related Identifiers

CVE-2018-12018
GHSA-P5GC-957X-GFW9
GO-2021-0075

Affected Products

Geth