Security context

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

kemalcr/kemal
master @ 5c03f3e
5
Fixes
3
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 3 prior fixes. Scrutinize any change in this area.
Kemal::ParamParser: most-fixed (1 issue). Treat as high-risk during review.
2 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.

Denial of Service: Inadequate size constraints during chunked multipart form-field parsing allowed attackers to trigger memory exhaustion. Developers must ensure all incoming request streams enforce strict cumulative and per-field byte limits.
Path Traversal: Improper sanitation of dot-dot sequences in request paths allowed attackers to access arbitrary local files. Any component performing filesystem resolution must canonicalize paths and explicitly verify they remain within the intended public directory prefix.
Denial of Service: Failing to clean up uploaded temporary files during abnormal or aborted request Lifecycles could lead to disk space exhaustion. File creation paths must always wrap operations in ensure blocks to guarantee removal.