{"id":"JLSEC-2026-1388","summary":"Printing a `TLS.Config` exposes TLS session secrets in Reseau.jl","details":"### Description\n\n`Reseau.TLS.Config` keeps the server's session-ticket keys and the client's cached TLS sessions in private fields.\nThese fields arrived with Reseau's native TLS stack in 1.1.0. Before 1.7.0, `Config` had no `show` method that left\nthem out, so `show`, `print`, `repr`, `string` and string interpolation of a config that had handled connections\nprinted the ticket keys' secret bytes and the cached sessions' secrets.\n\nReseau 1.7.0 prints only a config's public settings, and masks `key_passphrase`. `Base.dump` still prints every\nfield of any value.\n\n### Impact\n\nAn application that prints or logs a `TLS.Config` after it has handled connections writes these secrets to that\noutput. Anyone who can read the output can:\n\n  - Decrypt the session tickets that a server issued while the printed ticket keys were in use. A TLS 1.2 ticket carries\n    the session's master secret, which decrypts recorded traffic of that session and of its resumptions. A TLS 1.3\n    ticket carries a resumption key that lets them resume the session as the client.\n  - Use a client's cached TLS 1.2 session secrets to decrypt recorded traffic of those sessions, and its TLS 1.3\n    resumption keys to resume those sessions as the client.\n\nReseau resumes TLS 1.3 sessions only with a new key exchange (`psk_dhe_ke`), so a TLS 1.3 secret does not decrypt\nrecorded traffic. Session tickets are on by default.\n\n### Patches\n\nFixed in Reseau 1.7.0. Upgrade to 1.7.0 or later.\n\n### Workarounds\n\nDon't print or log a `TLS.Config`, or any value that contains one, on an affected version. Setting\n`session_tickets_disabled = true` stops a server from issuing tickets. Reseau generates ticket keys at random and keeps\nthem only in memory, so restarting a process that may have logged a config discards its ticket keys and cached\nsessions. Treat logs that may contain a printed config as holding secrets.","modified":"2026-11-19T22:45:04.598428726Z","published":"2026-11-16T13:05:52.108Z","database_specific":{"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/JuliaServices/Reseau.jl/commit/e003febbe2a7605951e387d0e98bfb4f658c2534"},{"type":"WEB","url":"https://github.com/JuliaServices/Reseau.jl/pull/243"},{"type":"WEB","url":"https://github.com/JuliaServices/Reseau.jl/releases/tag/v1.7.0"}],"affected":[{"package":{"name":"Reseau","ecosystem":"Julia","purl":"pkg:julia/Reseau?uuid=802f3686-a58f-41ce-bb0c-3c43c75bba36"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.7.0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1388.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","source":"SELF"}]}