QID 982039

QID 982039: Go (go) Security Update for github.com/ethereum/go-ethereum/core/vm (GHSA-69v6-xc2j-r2jf)

Security update has been released for github.com/ethereum/go-ethereum/core/vm,github.com/ethereum/go-ethereum to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

This is a Consensus vulnerability, which can be used to cause a chain-split where vulnerable nodes reject the canonical chain.

Geths 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`,
- calls `0x00..04` with `R` as an argument,
- 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`.

  • CVSS V3 rated as High - 7.1 severity.
  • CVSS V2 rated as Medium - 5.5 severity.
  • Solution
    Customers are advised to refer to GHSA-69v6-xc2j-r2jf for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 982039

    Software Advisories
    Advisory ID Software Component Link
    GHSA-69v6-xc2j-r2jf github.com/ethereum/go-ethereum URL Logo github.com/advisories/GHSA-69v6-xc2j-r2jf
    GHSA-69v6-xc2j-r2jf github.com/ethereum/go-ethereum/core/vm URL Logo github.com/advisories/GHSA-69v6-xc2j-r2jf