Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ethereum/go-ethereum/cmd/evm
  4. ›
  5. CVE-2020-26241

CVE-2020-26241: Incorrect Calculation

November 25, 2020 (updated December 3, 2020)

Go Ethereum, or “Geth”, is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth’s pre-compiled dataCopy (at 0x00..0x04) 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..0x04 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

References

  • blog.ethereum.org/2020/11/12/geth_security_release/
  • nvd.nist.gov/vuln/detail/CVE-2020-26241

Code Behaviors & Features

Detect and mitigate CVE-2020-26241 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.17

Fixed versions

  • v1.9.17

Solution

Upgrade to version 1.9.17 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-682: Incorrect Calculation

Source file

go/github.com/ethereum/go-ethereum/cmd/evm/CVE-2020-26241.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:56 +0000.