Security context

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

isc-projects/dhcp
master @ 457ef9b
25
Fixes
0
CVEs
CRITICAL
Peak severity
21.4%
Coverage
Highlights
Buffer Overflow: 8 prior fixes. Scrutinize any change in this area.
common/options.c: most-fixed (9 issues). Treat as high-risk during review.
17 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 overflows in option parsing/copying (cons_options, agent suboptions) with no bounds checks on attacker-controlled lengths, enabling remote code execution or crash.
Buffer Overflow: Hex literal and hex printing lack bounds checks, leading to memory corruption from oversized input.
Denial of Service: Insufficient packet size and option length validation (client-id, packet length) allows remote crashes via infinite loops or null dereferences.