Security context

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

pymumu/smartdns
master @ dfc9ef4
16
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Buffer Overflow: 5 prior fixes. Scrutinize any change in this area.
src/http_parse/http2.c: most-fixed (3 issues). Treat as high-risk during review.
9 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: Multiple buffer overflows in DNS and HTTP parsing due to missing bounds checks on lengths and counts before writes.
Memory Safety: Integer overflows and unsafe memcpy in HTTP parsers can lead to buffer overflows and memory corruption.
TLS Certificate Validation Bypass: Certificate validation could be bypassed by failing open on CA load errors or by improper hostname verification (CN fallback).