Skip to content

chore: prepare release 0.9.1 - #4517

Merged
abonander merged 3 commits into
mainfrom
release/0.9.1
Nov 18, 2026
Merged

abonander merged 3 commits into
mainfrom
release/0.9.1

Conversation

@abonander

@abonander abonander commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

greatheart1000 added a commit to greatheart1000/ckb that referenced this pull request Nov 11, 2026
sqlx 0.9.0 constrains libsqlite3-sys to < 0.38.0, so the patched
libsqlite3-sys 0.39.x cannot be adopted yet. The upstream fix is merged
(transact-rs/sqlx#4502) and will be released in sqlx 0.9.1
(transact-rs/sqlx#4517).

CKB only opens the local rich-indexer SQLite database that the node
creates itself; it never opens a database/WAL pair supplied by an
untrusted party, so the advisory's attack path is not reachable.

Add matching ignores to deny.toml (cargo-deny) and .cargo/audit.toml
(the scheduled cargo-audit workflow). Remove both once sqlx >= 0.9.1 is
adopted.

Co-Authored-By: Claude Code <[email protected]>
@minev-dev

Copy link
Copy Markdown

Hello. Can it be merged and released as soon as possible? Shared a bit more context in #4525 (comment)

chenyukang pushed a commit to nervosnetwork/ckb that referenced this pull request Nov 17, 2026
…gh -0531) (#5378)

### What problem does this PR solve?

Issue Number: closes #5364, closes #5368, closes #5369, closes #5370,
closes #5371, closes #5372, closes #5373, closes #5374, closes #5375,
closes #5376, closes #5377, closes #5199

Problem Summary:

The daily security audit filed eleven advisories in the past week, and
RUSTSEC-2026-0119 is still open from May:

- `hickory-proto` 0.24.4 / `hickory-resolver` 0.24.4: RUSTSEC-2026-0487,
-0489, -0490, -0491, -0505, -0511, -0512, -0514, -0530, -0531, plus
RUSTSEC-2026-0119.
- `libsqlite3-sys` 0.30.1 (via `sqlx-sqlite` 0.8.6): RUSTSEC-2026-0459.

### What is changed and how it works?

What's Changed:

- Bump `hickory-resolver` 0.24.4 -> 0.26.3 and adapt the DNS seeding
service to the new resolver/TXT API. 0.26.3 validates DNSSEC through
`hickory-net` and carries every fix above; it is also the release that
fixes RUSTSEC-2026-0119, superseding #5200.
- Ignore RUSTSEC-2026-0459 in `deny.toml` and the new
`.cargo/audit.toml`. The latest released `sqlx` (0.9.0) caps
`libsqlite3-sys` at `< 0.38.0`, so the patched `>= 0.39.0` cannot be
selected yet. The bound is relaxed upstream in transact-rs/sqlx#4502,
due in sqlx 0.9.1 (transact-rs/sqlx#4517). CKB only opens the local
rich-indexer database it creates itself and never opens a database/WAL
pair supplied by an untrusted party, so the advisory's attack path is
unreachable. This makes #5366 redundant.

### Related changes

- PR to update `owner/repo`: none; #5200 and #5366 become redundant.

### Check List

Tests

- Unit test

Side effects

- None

### Verification

```
$ cargo check -p ckb-network --features with_dns_seeding --all-targets
Finished `dev` profile

$ cargo nextest run -p ckb-network --features with_dns_seeding
Summary [15.023s] 58 tests run: 58 passed, 0 skipped

$ cargo fmt --check -p ckb-network

$ cargo deny check licenses sources bans
bans ok, licenses ok, sources ok

$ cargo deny check --metadata-path <all-features metadata> advisories
# The eleven recent advisories are no longer reported. Only the pre-existing
# unsound advisories remain: RUSTSEC-2026-0221, -0306, -0186, -0097, -0486.

$ cargo audit
# RUSTSEC-2026-0459 is ignored via .cargo/audit.toml; the remaining findings
# are the pre-existing RUSTSEC-2024-0437 and RUSTSEC-2023-0071.
```

`hickory-resolver` is an optional dependency behind the
`with_dns_seeding` feature, so the default `cargo deny` feature graph
does not include it; the all-features metadata was used to verify its
advisories.
@abonander
abonander merged commit 30f4eae into main Nov 18, 2026
205 checks passed
@abonander
abonander deleted the release/0.9.1 branch November 18, 2026 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants