Improper Validation of Array Index Affecting ethereum/go-ethereum package, versions [,1.8.11)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.26% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ETHEREUMGOETHEREUM-2364931
  • published26 Jan 2022
  • disclosed5 Jul 2018
  • creditUnknown

Introduced: 5 Jul 2018

CVE-2018-12018  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade ethereum/go-ethereum to version 1.8.11 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index. The GetBlockHeadersMsg handler in the LES protocol implementation in Go Ethereum (aka geth) before 1.8.11 may lead to an access violation because of an integer signedness error for the array index, which allows attackers to launch a Denial of Service attack by sending a packet with a -1 query.Skip value. The vulnerable remote node would be crashed by such an attack immediately, aka the EPoD (Ethereum Packet of Death) issue.

CVSS Base Scores

version 3.1