Repository navigation
chore: bump rustls to 0.23.46 - #133
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Lock-only bump of rustls 0.23.43 to 0.23.46, with the dependents pointing at the new version. Reviewed a44cf8f, full tier (lock files count as a security path).
What I checked, and 2 candidates I ruled out
Read in full: the Cargo.lock diff
Checksums: every changed checksum line matches the crates.io index for that version (rustls 0.23.46 48e13bd8...); none of these versions is yanked.
Lock consistency: parsed the lock; every rustls 0.23.46 reference (nine dependents) resolves to the one 0.23.x entry, nothing dangling.
Build: not run. talos-pr-run refused (it could not read the author's permission on this repo and fails closed), so this review is static.
CI: no checks run on this branch (rust.yml triggers only on workflow_dispatch).
Ruled out
- Requirements not met: 0.23.46 needs
rustls-webpki ^0.103.14,aws-lc-rs ^1.18andrustls-pki-types ^1.12; the lock has 0.103.15, 1.18.1 and 1.15.1. - MSRV: the crate declares
rust-version = "1.85";rustls0.23.46 declares 1.71.
Merge confidence: 4/5, a patch bump that resolves cleanly, but no CI ran on the branch and it was not built here.
coreyphillips
left a comment
There was a problem hiding this comment.
Two independent reviews, nothing blocking a merge.
worth doing, does not block
- Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4:
Debugon client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46,set_kx_hintmoved out of the ServerHello path andClientSessionCommongot a hand-writtenDebugthat skipssecret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built withringand no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: -cargo metadata --lockedsucceeds. -cargo check --locked --all-targetsfinishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not runcargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock.
@coreyphillips Thanks. This PR stays a lockfile-only change; the CHANGELOG line for the bump goes in with the next release prep. |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after replies, with no new commit since a44cf8f. Nothing blocking remains.
still open
- Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4:
Debugon client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46,set_kx_hintmoved out of the ServerHello path andClientSessionCommongot a hand-writtenDebugthat skipssecret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built withringand no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: -cargo metadata --lockedsucceeds. -cargo check --locked --all-targetsfinishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not runcargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. The reply defers the entry to release prep but does not show it is unneeded. The PR head is still a44cf8f, andgh pr viewshows the description unchanged, still calling this just a patch release. Repo history argues against waiting: lightning 0.2.7 (a0ea0a3) and other fixes added their CHANGELOG line in the fix commit, while release commits (d1bd9fc, f05161e, 1976754) only rename the heading. Nothing here tracks the deferred line, so it can be missed. This is still non-blocking, and one Bug Fixes bullet naming the three rustls advisories would close it.
@coreyphillips It is tracked for the rc.79 prep, which is cut from this head before the merge, so the CHANGELOG line ships in the same release as the bump. |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after replies, with no new commit since a44cf8f. Nothing blocking remains.
still open
- Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4:
Debugon client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46,set_kx_hintmoved out of the ServerHello path andClientSessionCommongot a hand-writtenDebugthat skipssecret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built withringand no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: -cargo metadata --lockedsucceeds. -cargo check --locked --all-targetsfinishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not runcargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. The 13:33 reply agrees the CHANGELOG line is missing and moves it to rc.79 prep. That does not show the point was wrong. I found nothing that records the item: no rc.79 issue, branch or PR on GitHub, andgh pr view 133still lists Cargo.lock as the only file. The description still says only "its latest patch release", and earlier fixes such as 4b35821 and a0ea0a3 added their CHANGELOG line in the same PR. Naming the advisories in the PR description, or linking a tracking issue, would close this.
|
Added the |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after 1 new commit (a696e85). Nothing blocking remains.
still open
- Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4:
Debugon client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46,set_kx_hintmoved out of the ServerHello path andClientSessionCommongot a hand-writtenDebugthat skipssecret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built withringand no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: -cargo metadata --lockedsucceeds. -cargo check --locked --all-targetsfinishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not runcargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. CHANGELOG.md:10 now reads only "Bumprustlsto 0.23.46." The PR description still calls it just the latest patch release. The point was that the security fixes are not recorded, and they still aren't. The lightning bullet on the line above names its advisories, so consumers reading the release notes will only see a routine patch bump. I checked the fixes are real in the registry sources:ClientSessionCommonhas a derivedDebugin 0.23.43 and a hand-written one in 0.23.46 (src/msgs/persist.rs:312). To close this, say the bump fixes TLS security advisories and list GHSA-2mjx-qc3c-rqvc, GHSA-w44r-93j7-qv28 and GHSA-c8m5-c952-6cm4.
|
Released v0.7.0-rc.79 from |
coreyphillips
left a comment
There was a problem hiding this comment.
Rechecked after 1 new commit (faddf6d). Nothing blocking remains.
still open
- Security fixes in this bump are not recorded in CHANGELOG or the PR description (CHANGELOG.md:3). The bump brings in rustls security fixes, but neither CHANGELOG.md nor the PR description says so. The description calls it just "its latest patch release". The locked 0.23.43 is affected by three rustls advisories: - GHSA-2mjx-qc3c-rqvc: TLS 1.3 handshake messages accepted at the wrong encryption level. Affects 0.23.13 through 0.23.44, fixed in 0.23.45. - GHSA-w44r-93j7-qv28: an unauthenticated ServerHello poisons the per-name kx hint. Fixed in 0.23.46. - GHSA-c8m5-c952-6cm4:
Debugon client session values prints secrets. Fixed in 0.23.46. I checked these against the upstream release notes and the crate sources. In 0.23.46,set_kx_hintmoved out of the ServerHello path andClientSessionCommongot a hand-writtenDebugthat skipssecret. The last security-driven dependency bump, a0ea0a3 (lightning 0.2.7), added a Bug Fixes bullet to CHANGELOG.md. Release notes for binding consumers are built from that file. Without an entry, the next release will not tell consumers that their TLS stack picked up security fixes. The practical exposure for this crate is low. rustls is built withringand no post-quantum group, so the kx-hint downgrade does not apply. Nothing here Debug-prints rustls session values. The alignment bug cannot change the result of an authenticated handshake. So this is a record-keeping gap, not a reason to hold the merge. What I verified: -cargo metadata --lockedsucceeds. -cargo check --locked --all-targetsfinishes. The only warnings are pre-existing ones in test files. - The crate's sha256 matches the lockfile checksum. - The new dependency floors are met by the entries already locked: aws-lc-rs 1.18 against 1.18.1, rustls-webpki 0.103.14 against 0.103.15. - rustls MSRV is 1.71, below the project's 1.85. - A scratch crate pinned to rustls =0.23.46 and electrum-client 0.24.1 with use-rustls-ring did a server.features call and a header subscription over ssl://electrum.blockstream.info:50002, plus an HTTPS reqwest call to blockstream.info. All succeeded. I did not runcargo test; the lib and integration tests do not exercise TLS. The diff against the local origin/main also shows the rc.78 release commit, because that ref is stale. Upstream, #130 is already merged and the PR is one commit touching only Cargo.lock. CHANGELOG.md:10 still says only "Bumprustlsto 0.23.46.", and the PR body is unchanged. The published rc.79 release notes also just say "Bumprustlsto 0.23.46 (#133). No API changes.", so consumers have not been told about GHSA-2mjx-qc3c-rqvc, GHSA-w44r-93j7-qv28 or GHSA-c8m5-c952-6cm4. The 15:10 comment covers the release commit, not this point. It is still non-blocking.
|
Merged: approved by @coreyphillips on |
Updates the locked
rustlsto 0.23.46, its latest patch release, and adds the bump toCHANGELOG.md.Release