Close Menu

    Subscribe to Updates

    What's Hot

    INJ price under bearish pressure as Injective announces a new ecosystem growth initiative

    June 27, 2025

    South Korean payments firm Kakaopay tumbles 17% as regulators sound alarm on stablecoins

    June 27, 2025

    XRP’s Price Dips As Judge Shoots Down Joint Bid From Ripple and the SEC To Reduce the Company’s Previously Ordered Fine

    June 27, 2025
    Facebook X (Twitter) Instagram
    laicryptolaicrypto
    Demo
    • Ethereum
    • Crypto
    • Altcoins
    • Blockchain
    • Bitcoin
    • Lithosphere News Releases
    laicryptolaicrypto
    Home Security alert [Implementation of BLOCKHASH instruction in C++ and Go clients can potentially cause consensus issue – Fixed. Please update.]
    Ethereum

    Security alert [Implementation of BLOCKHASH instruction in C++ and Go clients can potentially cause consensus issue – Fixed. Please update.]

    Michael JohnsonBy Michael JohnsonDecember 21, 2024No Comments1 Min Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Summary: Erroneous implementation of BLOCKHASH can trigger a chain reorganisation leading to consensus problems

    Affected configurations: All geth versions up to 1.1.3 and 1.2.2. All eth versions prior to 1.0.0.

    Likelihood: Low

    Severity: Medium

    Impact: Medium

    Details: Both C++ (eth) and Go (geth) clients have an erroneous implementation of an edge case in the Ethereum virtual machine, specifically which chain the BLOCKHASH instruction uses for retrieving a block hash. This edge case is very unlikely to happen on a live network as it would only be triggered in certain types of chain reorganisations (a contract executing BLOCKHASH(N – 1) where N is the head of a non-canonical subchain that is not-yet reorganised to become the canonical (best/longest) chain but will be after the block is processed).

    pyethereum is unaffected.

    Effects on expected chain reorganisation depth: none

    Remedial action taken by Ethereum: Provision of hotfixes as below.

    Geth:

    PPA: sudo apt-get update then sudo apt-get upgrade

    Brew: brew update then brew reinstall ethereum

    Windows: download the updated binary from https://github.com/ethereum/go-ethereum/releases/tag/v1.2.3

    Building from source:

    git fetch origin && git checkout origin/master




    Eth:

    PPA: https://gavofyork.gitbooks.io/turboethereum/content/chapter1.html



    Source link

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr Email
    Michael Johnson

    Related Posts

    Checkpoint #4: Berlinterop | Ethereum Foundation Blog

    June 19, 2025

    Ethereum ETFs hit ATH, SPX6900 cools off, XRP outlook remains bullish

    June 18, 2025

    Ethereum whales buy $2.5 billion in ETH as price targets $4,000 breakout

    June 16, 2025
    Leave A Reply Cancel Reply

    Demo
    Don't Miss
    Crypto

    INJ price under bearish pressure as Injective announces a new ecosystem growth initiative

    By John SmithJune 27, 20250

    Injective has just announced a new Revenue Fund aimed at boosting ecosystem growth just as…

    South Korean payments firm Kakaopay tumbles 17% as regulators sound alarm on stablecoins

    June 27, 2025

    XRP’s Price Dips As Judge Shoots Down Joint Bid From Ripple and the SEC To Reduce the Company’s Previously Ordered Fine

    June 27, 2025

    CryptoQuant analyst identifies sign of the next altcoin wave

    June 27, 2025

    LAI Crypto is a user-friendly platform that empowers individuals to navigate the world of cryptocurrency trading and investment with ease and confidence.

    Our Posts
    • Altcoins (579)
    • Bitcoin (30)
    • Blockchain (127)
    • Crypto (7,805)
    • Ethereum (643)
    • Lithosphere News Releases (117)
    • Uncategorized (339)

    Subscribe to Updates

    • Twitter
    • Instagram
    • YouTube
    • LinkedIn

    Type above and press Enter to search. Press Esc to cancel.