Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

rustls/rustls-native-certs
main @ c13fbd6
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Broken Cryptography: 1 prior fix. Scrutinize any change in this area.
src/windows.rs: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Broken Cryptography: The platform-native trust store integration on Windows loaded certificates without verifying key usage constraints. This allowed non-TLS certificates (e.g., code signing or email certificates) to be trusted as valid TLS root certificates, exposing clients to potential man-in-the-middle attacks. Developers must ensure that native certificate stores are filtered by specific usage OIDs (specifically PKIX Server Auth) during loading.