Skip to content

fix(deps): upgrade rustls to 0.23.46 - #3081

Closed
fengmk2 wants to merge 1 commit into
mainfrom
fix/rustls-0.23.46
Closed

fengmk2 wants to merge 1 commit into
mainfrom
fix/rustls-0.23.46

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 16, 2026

Copy link
Copy Markdown
Member

Upgrade rustls from 0.23.45 to 0.23.46. It fixes four advisories published on 2026-10-14 that fail cargo-deny in Security Analysis, including on the release: v1.3.0 PR (#3079):

Advisory Issue Effect on Vite+
RUSTSEC-2026-0346 Debug impls for client session values expose TLS secrets Requires local, privileged access to debug output
RUSTSEC-2026-0347 Buffered application data sent to outer server after ECH rejection ECH is not enabled
RUSTSEC-2026-0348 Brotli certificate decompression can allocate up to 1 GiB before authentication Brotli certificate decompression is not compiled in
RUSTSEC-2026-0349 Unauthenticated ServerHello can downgrade later connections to classical key exchange The ring provider offers only classical key exchange

rustls reaches Vite+ through reqwest, which downloads runtimes, package managers, and registry metadata. Only the rustls lock entry changes.

Security Analysis also reports the unmaintained unsafe-libyaml (RUSTSEC-2024-0449), pulled in by ast-grep-config through serde_yaml. It has no patched version, so this PR leaves it in place.

🤖 Generated with Claude Code

rustls 0.23.46 fixes RUSTSEC-2026-0346, RUSTSEC-2026-0347,
RUSTSEC-2026-0348, and RUSTSEC-2026-0349, which fail cargo-deny in
Security Analysis.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-rustls-0-23-46-viteplus-dev.voidzero-docs.workers.dev (commit 4e5da17)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://46a97cda-viteplus-dev.voidzero-docs.workers.dev 4e5da17 2026-10-16T03:32:22.055Z Visit the dashboard ↗

@fengmk2 fengmk2 self-assigned this Oct 16, 2026
@fengmk2
fengmk2 requested review from cpojer and wan9chi October 16, 2026 03:32
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​rustls@​0.23.45 ⏵ 0.23.4681 +110093100100

View full report

@github-actions

Copy link
Copy Markdown
Contributor

CLI artifact sizes (4e5da17)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.20 MiB 2.20 MiB 0 B (0.00%)
packages/core/dist Directory total 4.08 MiB 4.08 MiB 0 B (0.00%)
Combined package dist Directory total 6.28 MiB 6.28 MiB 0 B (0.00%)
vp (Linux x64) Binary 10.19 MiB 10.19 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.50 MiB 4.50 MiB -946 B (-0.02%)
NAPI (Linux x64) Binary 33.65 MiB 33.65 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 13.42 MiB 13.42 MiB -1.89 KiB (-0.01%)
vp (macOS ARM64) Binary 7.61 MiB 7.61 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.93 MiB 3.93 MiB +724 B (+0.02%)
NAPI (macOS ARM64) Binary 40.91 MiB 40.91 MiB -16 B (-0.00%)
NAPI (macOS ARM64) gzip -9 17.63 MiB 17.63 MiB +2.29 KiB (+0.01%)
vp (Windows x64) Binary 8.25 MiB 8.25 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.64 MiB 3.64 MiB 0 B (0.00%)
NAPI (Windows x64) Binary 29.77 MiB 29.77 MiB +2.00 KiB (+0.01%)
NAPI (Windows x64) gzip -9 12.14 MiB 12.15 MiB +698 B (+0.01%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB +1 B (+0.01%)
Installer (Windows x64) Binary 3.61 MiB 3.61 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 1.77 MiB 1.77 MiB 0 B (0.00%)

@fengmk2

fengmk2 commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Superseded by #1783, which also upgrades rustls to 0.23.46 and removes unsafe-libyaml by updating ast-grep to 0.51.0, so Security Analysis passes there.

@fengmk2 fengmk2 closed this Oct 16, 2026
@fengmk2
fengmk2 deleted the fix/rustls-0.23.46 branch October 16, 2026 03:58
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