Highlights
Denial of Service: 10 prior fixes. Scrutinize any change in this area.
distributed/scheduler.py: most-fixed (4 issues). Treat as high-risk during review.
4 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.
Insecure Deserialization: The use of unsafe pickle-based or unvalidated deserializers during task payload transmission allows for arbitrary code execution. Restricting transport serialization formats is critical to secure connection handling.
Denial of Service: Large outbound payloads can trigger integer or overflow errors in underlying SSL and socket write buffers. Fragmenting messages and capping shard sizes avoids unhandled exceptions that crash communication streams.
Authentication Bypass: Establishing secondary metadata or connection paths without forwarding security credentials or TLS configurations can bypass established authentication boundaries, leaking sensitive data to unauthenticated channels.