Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
src/petals/server/handler.py: most-fixed (1 issue). 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: Unsynchronized updates to shared memory counters across asynchronous tasks allow race conditions, potentially leading to incorrect state tracking and memory exhaustion or crashes.
Denial of Service: The use of multiprocessing.Manager proxies for sharing state between server handlers can lead to severe system resource leaks and eventual server denial of service under sustained loads.