Security context

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

golang/go
master @ d6427ef
241
Fixes
50
CVEs
CRITICAL
Peak severity
Highlights
Auth Bypass: 52 prior fixes. Scrutinize any change in this area.
src/crypto/x509: most-fixed (18 issues). Treat as high-risk during review.
108 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.

Signature Forgery: The ECDSA implementation failed to validate hashes correctly, permitting signature forgery when empty hashes were evaluated. Developers must ensure that all cryptographic sign/verify routines strictly reject empty or zero-length input digests.
Auth Bypass: TLS session resumption bypassed critical validation checks (including certificate expiration, full chain validation, and matching configured trust pools/roots). This allowed expired or invalid credentials to successfully resume active TLS connections.
Path Traversal: On Windows, file cleaning and path validation failed to account for NT device namespaces, relative drive-letter transitions, and trailing slashes relative to a root. This allowed path traversal outside sandbox roots via specialized Windows path syntax.