bitcoindevkit / bitcoindevkit/bdk-cli
RUSTSEC-2026-0099: Name constraints were accepted for certificates asserting a wildcard name
- Dominant language
- Rust
- Stars
- 141
- Forks
- 99
- Avg merge
- 6d 14m
- Merged PRs (30d)
- 1
Description
| 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 | [GHSA-xgp8-3hg3-c2mh](https://github.com/advisories/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](https://go.dev/issue/76442).
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](https://github.com/rustls/webpki/security/advisories/GHSA-xgp8-3hg3-c2mh). Thank you to [@1seal](https://github.com/1seal) for the report.
Contributor guide
Research direction
The issue identifies rustls-webpki 0.101.7 as vulnerable and lists patched versions, but it names no repository file or test. Start by locating where this dependency is declared in bdk-cli and determine whether the patched version can be adopted; done requires the dependency to no longer resolve to the vulnerable version and the existing checks to pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100