Security context

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

miekg/dns
master @ d854399
24
Fixes
0
CVEs
HIGH
Peak severity
57.9%
Coverage
Highlights
Buffer Overflow: 9 prior fixes. Scrutinize any change in this area.
dnssec.go: most-fixed (8 issues). Treat as high-risk during review.
21 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.

Buffer Overflow: Nine historical buffer overflows, mostly in message pack/unpack, from missing or off-by-one bounds checks on attacker-controlled lengths and offsets.
Auth Bypass: Three authentication bypasses in DNSSEC/TSIG verification, caused by missing RRset validity checks, incorrect signature data computation, and buffer disposal before verification.
Signature Verification Bypass: Three signature verification bypasses: TSIG time check before HMAC, stale MAC in multi-message transfers, and missing canonicalization for certain RR types.