You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump rustls to 0.23.45 (GHSA-2mjx-qc3c-rqvc); Dependabot can't unlock it #640
Cargo.lock pins rustls 0.23.42, which is affected by GHSA-2mjx-qc3c-rqvc (medium): rustls >= 0.23.13, < 0.23.45 accepts TLS 1.3 handshake messages sent at the wrong encryption level when they follow a key-changing message in the same record (e.g. a plaintext EncryptedExtensions packed into the ServerHello record). The handshake transcript is still authenticated, but RFC 8446 §5.1 requires the connection to be terminated. Fixed in 0.23.45.
rustls is pulled in by every reqwest client (cookcli itself, cooklang-import, cooklang-sync-client, self_update), so it covers recipe import, cook.md sync/login and cook update.
Why Dependabot can't fix it
The Dependabot security job stops at 0.23.43:
Requirements to unlock own
The latest possible version of rustls that can be installed is 0.23.43
The earliest fixed version is 0.23.45.
Security updates only unlock the vulnerable crate itself, but rustls 0.23.44+ raised its own requirements to aws-lc-rs ^1.18 and rustls-webpki ^0.103.14, while the lockfile has aws-lc-rs 1.17.3 and rustls-webpki 0.103.13. Nothing in our tree caps them — cargo update -p rustls --precise 0.23.45 resolves cleanly:
Activity
fix(deps): bump rustls to 0.23.45 (GHSA-2mjx-qc3c-rqvc) (cooklang#641)