Skip to content

deps: bump rustls to 0.23.46 for four security advisories - #461

Merged
bmachek merged 2 commits into
mainfrom
deps/rustls-0.23.46
Oct 30, 2026
Merged

bmachek merged 2 commits into
mainfrom
deps/rustls-0.23.46

Conversation

@bmachek

@bmachek bmachek commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Fixes the four open Dependabot alerts (#79–#82). All of them are in rustls < 0.23.46, which the backend uses only as an HTTPS client, through reqwest → hyper-rustls/tokio-rustls. None of our code calls it directly.

Alert Severity Advisory
#80 medium GHSA-c8m5-c952-6cm4: debug output of a session exposes TLS master secrets and resumption PSKs
#79 low GHSA-h2v8-394m-p7vv: Brotli certificate decompression can allocate up to 1 GiB before authentication
#81 low GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the key-exchange record, so later ClientHellos send only X25519
#82 low GHSA-vp88-798v-h67f: ECH rejection can expose buffered application data to the outer server

Change

server-rs/Cargo.lock only: the rustls version and checksum, 0.23.45 → 0.23.46.

cargo update -p rustls also moved tempfile's getrandom dependency from 0.4.3 to 0.3.4, which has nothing to do with these alerts. I took that out. The lockfile with only the rustls lines changed still builds with --locked.

Checks

  • cargo clippy --workspace --all-targets: no warnings
  • cargo test --workspace --locked: 925 passed, 0 failed

Also: docs-check on main

docs-check has failed on main since #460, which added a paragraph to server-rs/README.md (the UPSERT_CHUNK_BYTES write ceiling) without regenerating its wiki copy. The second commit regenerates docs/wiki/Dev-Server-README.md with scripts/build-wiki-pages.sh. No wiki page documents the lockfile itself.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HaMMvuCsggAAAZqFC3FdDX

bmachek and others added 2 commits October 30, 2026 20:38
Fixes Dependabot alerts #79-#82, all in rustls < 0.23.46, which the
backend pulls in only through reqwest/hyper-rustls/tokio-rustls:

- GHSA-c8m5-c952-6cm4 (medium): Debug formatting of a session exposes
  TLS master secrets and resumption PSKs
- GHSA-h2v8-394m-p7vv (low): Brotli certificate decompression can
  allocate up to 1 GiB before authentication
- GHSA-w44r-93j7-qv28 (low): an unauthenticated ServerHello poisons the
  key-exchange record, so later ClientHellos send only X25519
- GHSA-vp88-798v-h67f (low): ECH rejection can expose buffered data to
  the outer server

Lockfile change is rustls alone; cargo update also re-resolved
tempfile's getrandom (0.4.3 -> 0.3.4), which was dropped as unrelated.
Builds with --locked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HaMMvuCsggAAAZqFC3FdDX
#460 added the paragraph on the upsert write ceiling (UPSERT_CHUNK_BYTES)
to server-rs/README.md without rerunning scripts/build-wiki-pages.sh, so
check-docs.py has failed on main since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HaMMvuCsggAAAZqFC3FdDX
@bmachek
bmachek merged commit f0c4129 into main Oct 30, 2026
4 checks passed
@bmachek
bmachek deleted the deps/rustls-0.23.46 branch October 30, 2026 20:14
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.

1 participant