A concrete step stenciled with the Bitcoin symbol supports a steel tread with a lightning bolt cut into its side.
Image by CryptoSlate

Eclair’s Lightning security patch requires Bitcoin Core 32.x

Operators on older Bitcoin Core versions need to upgrade before applying Eclair 0.14.8, which fixes a crash during payment cleanup after a restart.

Quick Take

  1. Eclair operators running a Bitcoin Core version older than 32.x must update Core before installing Eclair 0.14.8.
  2. Eclair 0.14.8 fixes a crash that could occur while the node cleans up pending payments after a restart.
  3. The earlier security release addressed bugs that could force affected Lightning channels to close and take them out of payment routes.

Operators running Eclair, a Bitcoin Lightning Network node implementation, must upgrade Bitcoin Core before installing Eclair 0.14.8 if they are running a version older than 32.x. Eclair developer ACINQ released the security patch on Dec. 3 to fix a crash during payment cleanup after a restart.

ACINQ set Bitcoin Core 32.x as the minimum series for Eclair 0.14.8. The Bitcoin Core project had already released 32.1 on Oct. 27, so a version that meets the new requirement was available when the Eclair patch landed.

Operators already running Core 32.x can proceed with the Eclair update without changing their Bitcoin Core version. ACINQ says they can stop Eclair, update it and restart it with their existing Lightning channels open. The maintainers say Bitcoin Core versions newer than 32.x may also work with Eclair 0.14.8, though they have received limited testing.

Which Eclair operators need a Bitcoin Core upgrade?

The Core version already in use determines whether the Bitcoin node needs a separate update before Eclair 0.14.8.

Operators on older Bitcoin Core versions must update Core before Eclair 0.14.8. Operators already on 32.x can proceed to Eclair.

The diagram compares Core older than 32.x with Core 32.x. ACINQ says newer versions may be used but have received limited testing.

Two patches address different payment disruptions

The 0.14.8 changelog lists a fix for a crash in Eclair’s cleanup process after a node restarts. Bitcoin Optech identified the affected process as the one that handles Lightning payments that were still awaiting resolution when the node restarted.

The preceding release addressed a different problem. Eclair 0.14.7, published Dec. 1, fixed bugs that could lead to forced closures of individual Lightning channels. Bitcoin Optech described cases in which either Eclair or its peer could force the channel shut. ACINQ included the fixes in its Dec. 1 security notes.

Once a channel is forced shut, it can no longer forward Lightning payments. Any payment that would have used the closed channel needs another route, if one is available. That can leave a payment without a usable path through the affected node.

The closure also changes where the funds are settled. The Lightning protocol’s on-chain rules describe how a unilateral close is recorded through a transaction on Bitcoin. Conditional payments that were still pending when the channel closed may have to be resolved on the blockchain as well. A forced channel closure can also leave operators waiting to reclaim balances.

ACINQ urged operators to upgrade after both releases, saying malicious nodes could exploit some of the issues they fixed.

Article context

Mentioned in this article

Related Asset Bitcoin #1 BTC $43,926.29 24-hour change: down 11.70% Loading price history… 24H Down 11.70% 7D Down 26.03% 30D Down 42.13%