bdk icon indicating copy to clipboard operation
bdk copied to clipboard

RUSTSEC-2026-0099: Name constraints were accepted for certificates asserting a wildcard name

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

Details
Package rustls-webpki
Version 0.101.7
URL n/a
Patched Versions >=0.103.12, <0.104.0-alpha.1 OR >=0.104.0-alpha.6
Aliases CVE-2026-93601, GHSA-xgp8-3hg3-c2mh

Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name.

This was incorrect because, given a name constraint of accept.example.com, *.example.com could feasibly allow a name of reject.example.com which is outside the constraint. This is very similar to CVE-2025-61727.

Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.

This vulnerability is identified as GHSA-xgp8-3hg3-c2mh. Thank you to @1seal for the report.

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

Hi, I hit this advisory in my fork's nightly audit and traced the full dependency chain. Sharing in case it helps whoever picks this up.

The chain is: bdk_esplora -> esplora-client 0.12.3 -> minreq 2.14.1 -> rustls 0.21 -> rustls-webpki 0.101.7. The patched line (0.103.12+) is semver-incompatible with 0.101.x, so no cargo update can reach it; the fix has to come from esplora-client migrating off minreq, which per #2214 is already in flight (0.13.0 moved to bitreq).

One caveat for whoever lands that PR: bdk_bitcoind_rpc's dev-dependency on bitcoincore-rpc 0.19.0 also pulls jsonrpc 0.18.0 -> minreq 2.14.1, so the audit will still flag rustls-webpki 0.101.7 after the esplora-client bump alone.

In the meantime, consumers can keep CI green with a documented .cargo/audit.toml ignore; an example: https://github.com/devtechedge/bdk/blob/master/.cargo/audit.toml

devtechedge avatar Sep 11 '26 18:09 devtechedge