fix(deps): bump rustls to 0.23.45 for RUSTSEC-2026-0285 - #1075
Conversation
There was a problem hiding this comment.
Checked the bump against upstream sources:
- RUSTSEC-2026-0285 is patched in
>=0.23.45, affected range>=0.23.13, <0.23.45, so 0.23.45 is the minimum fix and no config change is needed alongside it. - The new
Cargo.lockchecksum0d41d731...48d634matches what crates.io reports for rustls 0.23.45 (published byctz, not yanked). The package's dependency list is unchanged, so nothing else entered the tree. Only onerustlsentry exists in the lockfile. - The three refreshed
imports.lockpublisher entries match crates.io exactly:toml_edit0.25.15+spec-1.1.0 / 2026-09-11 / epage,ureq3.4.1 andureq-proto0.6.2 / 2026-09-06 / algesten. All three versions are the ones inCargo.lockat this head, so the file is consistent with the lock rather than ahead of it. - The
encoding_rswildcard audit that also moved (end date to 2027-09-07, shortened notes) is byte-identical to Mozilla's currentsupply-chain/audits.toml. It is a refetch, not an edit.
Keeping rustls exempted rather than certifying an unreviewed TLS delta is the right call.
Nit, and out of scope for this PR: .github/workflows/ci.yml runs cargo vet with no --locked, which is why main can carry a stale imports.lock indefinitely. Adding --locked makes the gate reproducible and catches this drift at the commit that causes it; the cost is that every dependency bump that pulls in new publisher data must also commit the refreshed imports.lock, as this one does. Worth doing given vet is treated as a hard gate for human-authored PRs.
SonarQube — aucune nouvelle issueComparaison entre le projet bac à sable de cette PR et la branche par défaut : SonarQube Community n'analyse pas les PR, ce delta est calculé côté CI. Détail |
## [7.21.2] - 2026-09-16 ### Bug Fixes - fix(deps): bump rustls to 0.23.45 for RUSTSEC-2026-0285 (#1075)
Closes #1074.
Bumps
rustls0.23.43 to 0.23.45 for RUSTSEC-2026-0285.cargo update -p rustlsmoved nothing else inCargo.lock.fixrather thanchoreon purpose:rustlsis in the path of every HTTPS call the binary makes, so the patched version should ship in a release rather than sit onmain.Supply chain
cargo vetis a hard gate for a human-authored PR, andrustlswas exempted at exactly0.23.43. Two changes undersupply-chain/:config.toml: therustlsexemption moves to0.23.45. This keepsrustlsat the trust level it already had, exempted rather than audited. It does not claim anyone reviewed the 0.23.43 to 0.23.45 delta.cargo vetsuggested a certify, and I did not record one, since that would assert a review of TLS code that did not happen. If you want it audited properly,cargo vet diff rustls 0.23.43 0.23.45is the starting point.imports.lock: refreshed publisher data fortoml_edit,ureqandureq-proto. Unrelated torustls, and included becausemainis already stale here: those three versions are already onmain, andcargo vet --lockedfails onmaintoday. CI never noticed because it runscargo vetwithout--locked, which refetches. This is exactly the filecargo vetwrote.The pre-existing "unnecessary exemptions" warning is left alone, pruning is a separate change.
Verification