Security context

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

carltongibson/django-filter
main @ ec717ea
2
Fixes
1
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
django_filters/filters.py: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix 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: Maliciously crafted exponential format numbers supplied to NumberFilter can cause severe CPU and memory exhaustion. This vulnerability (CVE-2020-15225) highlights the need to validate and cap numerical inputs strictly before downstream processing.
Denial of Service: Malformed CSV payloads or trailing commas processed by OrderingFilter trigger unhandled exceptions, leading to application instability and crashes. Filtering out empty elements from the parsed payload prevents this vector.