Skip to content

fix(deps): bump rustls to 0.23.45 (RUSTSEC-2026-0285) - #45

Merged
schenkty merged 1 commit into
mainfrom
cursor/fix-rustls-rustsec-2026-0285-6bdf
Sep 16, 2026
Merged

schenkty merged 1 commit into
mainfrom
cursor/fix-rustls-rustsec-2026-0285-6bdf

Conversation

@schenkty

@schenkty schenkty commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Problem

Security Audit CI (make audit) fails repo-wide: RUSTSEC-2026-0285 on rustls 0.23.40.

Fix

Lockfile-only: cargo update -p rustls --precise 0.23.45 (plus required transitive bumps).

Verify

make audit exits 0. Non-failing warnings (instant/anyhow/rand/spin) left alone.

Human-merge this first so #40#44 Security Audit can go green.


Note

Low Risk
Lockfile-only patch on the TLS dependency chain; no app code changes, but any rustls fix can affect TLS behavior at runtime.

Overview

Summary

Security Audit CI fails on RUSTSEC-2026-0285 for rustls 0.23.40. This updates the locked TLS stack so make audit can pass without touching application source.

Related Issues

None

Changes Made

  • Resolved RUSTSEC-2026-0285 by pinning rustls to 0.23.45 in the lockfile (transitive crypto/TLS crates updated as required by that resolution)

Testing

Run make audit and confirm it exits 0.

Breaking Changes

None

Reviewed by Cursor Bugbot for commit c7b3db8. Configure here.

rustls 0.23.40 is vulnerable to RUSTSEC-2026-0285 (TLS 1.3 handshake
messages accepted across encryption levels), which caused the
repo-wide 'Security Audit' CI job (cargo audit / make audit) to fail
with exit code 2 on all open PRs against main.

Resolve the lockfile to rustls >=0.23.45. Lockfile-only change.
cargo audit now exits 0 (remaining entries are non-failing warnings).

Co-authored-by: Ty Schenk <schenkty@users.noreply.github.com>

@larseidsvoll larseidsvoll left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Lockfile-only fix for RUSTSEC-2026-0285 (patched >=0.23.45):

  • rustls 0.23.40 → 0.23.45
  • Transitive: rustls-webpki 0.103.15, aws-lc-rs 1.18.1, aws-lc-sys 0.45.0 (+ pkg-config)

No source changes. Prefer human-merge this before #40#42/#44 so Security Audit can go green.

Still draft; CI in progress.

Review only — do not bot-merge (Ty lock on node-rs). Humans merge. No @ humans.

@sonarqubecloud

Copy link
Copy Markdown

@schenkty
schenkty marked this pull request as ready for review September 16, 2026 01:13
@schenkty
schenkty merged commit 65925dc into main Sep 16, 2026
8 checks passed
@schenkty
schenkty deleted the cursor/fix-rustls-rustsec-2026-0285-6bdf branch September 16, 2026 01:13
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.

3 participants