Security context

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

redis/hiredis-py
master @ ee55dd4
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
src/reader.c: most-fixed (2 issues). Treat as high-risk during review.
0 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: Improper handling of PyObject reference counts during RESP3 map parsing allows an external data source or malicious Redis server to cause memory leaks of parsed keys, values, and intermediate tuples, leading to system memory exhaustion.
Denial of Service: Failure to release custom error callback references (protocolErrorClass and replyErrorClass) during Reader object deallocation causes a memory leak over the application lifetime when Reader objects are repeatedly created and destroyed.