bdk icon indicating copy to clipboard operation
bdk copied to clipboard

RUSTSEC-2026-0104: Reachable panic in certificate revocation list parsing

Open github-actions[bot] opened this issue 6 months ago • 2 comments

Details
Package rustls-webpki
Version 0.101.7
URL n/a
Patched Versions >=0.103.13, <0.104.0-alpha.1 OR >=0.104.0-alpha.7
Aliases CVE-2026-93599, GHSA-82j2-j2ch-gfr8

A panic was reachable when parsing certificate revocation lists via [BorrowedCertRevocationList::from_der] or [OwnedCertRevocationList::from_der]. This was the result of mishandling a syntactically valid empty BIT STRING appearing in the onlySomeReasons element of a IssuingDistributionPoint CRL extension.

This panic is reachable prior to a CRL's signature being verified.

Applications that do not use CRLs are not affected.

Thank you to @tynus3 for the report.

github-actions[bot] avatar May 27 '26 03:05 github-actions[bot]

Working on this, bumping esplora-client to 0.13.0, which already migrated from minreq to bitreq upstream (patched rustls-webpki). PR incoming.

Juwon-Ogunseye avatar Aug 03 '26 04:08 Juwon-Ogunseye

Thanks @Juwon-Ogunseye, the esplora-client bump covers the bdk_esplora path: esplora-client 0.12.3 -> minreq 2.14.1 -> rustls 0.21 -> rustls-webpki 0.101.7.

One heads-up: the same webpki version also arrives through bdk_bitcoind_rpc's dev-dependency chain: bitcoincore-rpc 0.19.0 -> jsonrpc 0.18.0 -> minreq 2.14.1. The audit will keep failing on that path after the esplora-client bump alone.

jsonrpc 0.20.1 already migrated to bitreq, but bitcoincore-rpc has no release against it yet (0.19.0, May 2024, pins jsonrpc 0.18). So a bitcoincore-rpc/jsonrpc bump is needed as well, or an audit.toml ignore for the dev-only path in the interim. We documented our interim ignores here: https://github.com/devtechedge/bdk/blob/master/.cargo/audit.toml

devtechedge avatar Sep 11 '26 18:09 devtechedge