Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

RUSTSEC-2026-0346: `Debug` impls for client session values expose TLS secrets

Open Beginner friendly
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
security

Research direction

The vulnerable dependency is rustls 0.23.45, so start in Cargo.toml and Cargo.lock where it is pinned, and run cargo tree -i rustls to see which crates pull it in. Update the lock to 0.23.46 or later with cargo update -p rustls, then run the test suite and build. Done when cargo tree -i rustls reports 0.23.46 or newer and the build passes.

Written by the indexing model from the issue text.

Description

Debug impls for client session values expose TLS secrets

Details
Package rustls
Version 0.23.45
URL https://github.com/rustls/rustls/pull/3299
Date 2026-10-14
Patched versions >=0.23.46
Unaffected versions <0.21.0

The Debug implementations of Tls12ClientSessionValue and
Tls13ClientSessionValue were derived, and so included the TLS 1.2 master
secret or TLS 1.3 resumption PSK in their output.

Custom ClientSessionStore implementations that format these values with
Debug (for example, when logging) could disclose these secrets to readers of
the logs. This conflicts with rustls's
key-material redaction policy.

Ordinary connection and built-in session cache Debug output is redacted and
is not affected.

See advisory page for additional details.

Dominant language
Rust
Stars
1
Forks
0
Avg merge
1d 15h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stackabletech/stackable-odbc-trino

All issues in stackabletech/stackable-odbc-trino

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.