CVE-2018-16733: Improper Input Validation in github.com/ethereum/go-ethereum/eth

Summary

18/05/2021
Yes i
High
7.5

CVE-2018-16733: Go Ethereum Improper Input Validation. Affects github.com/ethereum/go-ethereum versions < 1.8.14. Fixed in 1.8.14. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package github.com/ethereum/go-ethereum/eth is part of the Go Ethereum (geth) project. It is a client implementation of the Ethereum protocol in the Go programming language. The package provides functionality for interacting with the Ethereum blockchain. However, it is vulnerable to an improper input validation issue.

Vulnerability Detail

The vulnerability (CVE-2018-16733) exists in the TraceChain function in the eth/api_tracer.go file of the go-ethereum/eth package. It fails to properly validate the input, specifically the end block, against the start block. This oversight allows an attacker to specify an end block that is before the start block, potentially leading to unexpected behavior or exploitation of the Ethereum blockchain.

How To Fix

Minimum fixed version

1.8.14

This is the first release that contains the fix.

go get github.com/ethereum/go-ethereum@v1.8.14

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed version of the package.

Conclusion

In conclusion, the go-ethereum/eth package is vulnerable to an improper input validation issue that can potentially lead to unexpected behavior or exploitation of the Ethereum blockchain. It is crucial to update to version 1.8.14 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for github.com/ethereum/go-ethereum →

Share this vulnerability

FAQ

The vulnerability can potentially lead to unexpected behavior or exploitation of the Ethereum blockchain.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. It analyzes your Gopkg.lock file and provides real-time alerts for open-source vulnerabilities.

Yes, the CVSS score for this vulnerability is 7.5.

There are no known instances of this vulnerability being exploited at this time.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/ethereum/go-ethereum.

How To Fix

Minimum fixed version

1.8.14

This is the first release that contains the fix.

go get github.com/ethereum/go-ethereum@v1.8.14

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback