Security context

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

cesanta/mongoose
master @ 6093ac1
119
Fixes
0
CVEs
CRITICAL
Peak severity
53.3%
Coverage
Highlights
Auth Bypass: 23 prior fixes. Scrutinize any change in this area.
mongoose.c: most-fixed (71 issues). Treat as high-risk during review.
91 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.

Auth Bypass: Multiple fixes address TLS certificate chain validation, hostname verification, and handshake state management; a bypass here undermines all TLS-protected traffic.
Buffer Overflow: Recurring buffer overflows in TLS record parsing, DER parsing, and HTTP/URL handling; often due to missing length checks or off-by-one errors.
Memory Corruption: Memory corruption spans TLS encryption/decryption, MQTT parsing, DNS resolution, and network buffer management; often from incorrect sizes, double-frees, or uninitialized memory.