Moderate severityNVD Advisory· Published Dec 11, 2020· Updated Aug 4, 2024
LES Server DoS via GetProofsV2
CVE-2020-26264
Description
Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. In Geth before version 1.9.25 a denial-of-service vulnerability can make a LES server crash via malicious GetProofsV2 request from a connected LES client. This vulnerability only concerns users explicitly enabling les server; disabling les prevents the exploit. The vulnerability was patched in version 1.9.25.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/ethereum/go-ethereumGo | < 1.9.25 | 1.9.25 |
Affected products
1- Range: < 1.9.25
Patches
1bddd103a9f0ales: fix GetProofsV2 bug (#21896)
1 file changed · +2 −4
les/server_handler.go+2 −4 modified@@ -610,6 +610,7 @@ func (h *serverHandler) handleMsg(p *clientPeer, wg *sync.WaitGroup) error { var ( lastBHash common.Hash root common.Hash + header *types.Header ) reqCnt := len(req.Reqs) if accept(req.ReqID, uint64(reqCnt), MaxProofsFetch) { @@ -624,10 +625,6 @@ func (h *serverHandler) handleMsg(p *clientPeer, wg *sync.WaitGroup) error { return } // Look up the root hash belonging to the request - var ( - header *types.Header - trie state.Trie - ) if request.BHash != lastBHash { root, lastBHash = common.Hash{}, request.BHash @@ -654,6 +651,7 @@ func (h *serverHandler) handleMsg(p *clientPeer, wg *sync.WaitGroup) error { // Open the account or storage trie for the request statedb := h.blockchain.StateCache() + var trie state.Trie switch len(request.AccKey) { case 0: // No account key specified, open an account trie
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-r33q-22hv-j29qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-26264ghsaADVISORY
- github.com/ethereum/go-ethereum/commit/bddd103a9f0af27ef533f04e06ea429cf76b6d46ghsax_refsource_MISCWEB
- github.com/ethereum/go-ethereum/pull/21896ghsax_refsource_MISCWEB
- github.com/ethereum/go-ethereum/releases/tag/v1.9.25ghsax_refsource_MISCWEB
- github.com/ethereum/go-ethereum/security/advisories/GHSA-r33q-22hv-j29qghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2021-0063ghsaWEB
News mentions
0No linked articles in our index yet.