Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0164

`Debug` impls for client session values expose TLS secrets

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
rustls crates.iorustls: from 0.21.0 before 0.23.46
What to do
Upgrade rustls to 0.23.46 or later.
Severity
UnknownRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

11 listed

Sources

  1. OSV record RUSTSEC-2026-0346osv.devRetrieved 3 December 2026
  2. package reference for RUSTSEC-2026-0346crates.ioRetrieved 3 December 2026
  3. advisory reference for RUSTSEC-2026-0346rustsec.orgRetrieved 3 December 2026
  4. web reference for RUSTSEC-2026-0346github.comRetrieved 3 December 2026
  5. OSV record GHSA-c8m5-c952-6cm4osv.devRetrieved 3 December 2026
  6. web reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026
  7. web reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026
  8. web reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026
  9. web reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026
  10. package reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026
  11. web reference for GHSA-c8m5-c952-6cm4github.comRetrieved 3 December 2026

Full record

Finding
NMN-2026-0164
Category
vulnerability
Component
rustls (crates.io)rustls: from 0.21.0 before 0.23.46
Severity
Unknown. Rated by the source advisory.The source advisory RUSTSEC-2026-0346 gives no severity label. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade rustls to 0.23.46 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:52 UTCUpdated 3 December 2026, 16:52 UTC
Summary, as published by the source advisory
As published by the source advisory
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](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api). Ordinary connection and built-in session cache `Debug` output is redacted and is not affected.

2 events, oldest first

History

History verified: 2 eventsLatest hash2474754f72442474754f7244d12a575942acb1b9076f12121de73acfd6f14ab23903e1d4c3e8

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-c8m5-c952-6cm4.

    Entered the record in the state Candidate.

    Event 1 hash02439972b4a902439972b4a97b223d01a1d1201c2ad65855a402c1280044147814f7958af6d0
  2. CorrectionMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: The source advisory RUSTSEC-2026-0346 changed.

    Title

    Before

    Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs

    After

    `Debug` impls for client session values expose TLS secrets

    Sources

    Before

    [ { "url": "https://osv.dev/vulnerability/GHSA-c8m5-c952-6cm4", "title": "OSV record GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4", "title": "web reference for GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3299", "title": "web reference for GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3354", "title": "web reference for GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/dcdb9464d376f45f42a94a5f837cda1506449f23", "title": "web reference for GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/commit/f5f7bf5078a7edcbd81a9e82a97f2bd14dc1c855", "title": "web referenc... (504 more characters)

    After

    [ { "url": "https://osv.dev/vulnerability/RUSTSEC-2026-0346", "title": "OSV record RUSTSEC-2026-0346", "retrieved": "2026-12-03" }, { "url": "https://crates.io/crates/rustls", "title": "package reference for RUSTSEC-2026-0346", "retrieved": "2026-12-03" }, { "url": "https://rustsec.org/advisories/RUSTSEC-2026-0346.html", "title": "advisory reference for RUSTSEC-2026-0346", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/pull/3299", "title": "web reference for RUSTSEC-2026-0346", "retrieved": "2026-12-03" }, { "url": "https://osv.dev/vulnerability/GHSA-c8m5-c952-6cm4", "title": "OSV record GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "https://github.com/rustls/rustls/security/advisories/GHSA-c8m5-c952-6cm4", "title": "web reference for GHSA-c8m5-c952-6cm4", "retrieved": "2026-12-03" }, { "url": "http... (776 more characters)

    Summary

    Before

    ### Summary Formatting a client session value with Debug exposes its TLS 1.2 master secret or TLS 1.3 resumption PSK. A custom session store that logs these values can disclose keys to readers of the logs. Ordinary connection and built-in cache diagnostics remain redacted, and the session-store interface already warns that its values are sensitive. ### Details Derived formatters traverse the session's secret-bearing fields. This conflicts with the project's explicit [key-material redaction policy](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api). ### Proof of concept Custom `ClientSessionStore` implementations could leak secret data by using the provided `Tls12ClientSessionValue` or `Tls13ClientSessionValue` in a way that triggers its implementation of the `Debug` trait. ### Impact Such store implementations could leak... (172 more characters)

    After

    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](https://github.com/rustls/rustls/blob/99f2358cae2954837dbb866faf6727de75489ab9/SECURITY.md#boundary-public-api). Ordinary connection and built-in session cache `Debug` output is redacted and is not affected.

    Affected versions

    Before

    [ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0" } ], "ecosystem": "crates.io" }, { "name": "rustls", "ranges": [ { "fixed": "0.24.0-dev.2", "introduced": "0.24.0-dev.1" } ], "ecosystem": "crates.io" } ]

    After

    [ { "name": "rustls", "ranges": [ { "fixed": "0.23.46", "introduced": "0.21.0" } ], "ecosystem": "crates.io" } ]

    Severity

    Before

    moderate

    After

    unknown

    Mitigation

    Before

    Upgrade rustls to 0.23.46 or later. Upgrade rustls to 0.24.0-dev.2 or later.

    After

    Upgrade rustls to 0.23.46 or later.

    severityRationale

    Before

    Severity as labelled by the source advisory GHSA-c8m5-c952-6cm4. CVSS as given: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N. Noumen has not assessed it.

    After

    The source advisory RUSTSEC-2026-0346 gives no severity label. Noumen has not assessed it.

    Event 2 hash2474754f72442474754f7244d12a575942acb1b9076f12121de73acfd6f14ab23903e1d4c3e8
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.