Vulnerabilities · 2020 · Ethereum
CVE-2020-26241
Ethereum Go Ethereum vulnerability
Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth's pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.
Affected products
Go Ethereum. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ethereum Go Ethereum runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.ethereum.org/2020/11/12/geth_security_release/ · Vendor Advisory
- github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-26241
- github.com/ethereum/go-ethereum/commit/295693759e5ded05fec0b2fb39359965b60da785
- blog.ethereum.org/2020/11/12/geth_security_release
- github.com/advisories/GHSA-69v6-xc2j-r2jf
- nvd.nist.gov/vuln/detail/CVE-2020-26241
- cve.org/CVERecord?id=CVE-2020-26241
More vulnerabilities in Ethereum products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.