Security context

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

python-zk/kazoo
master @ 4476a3b
3
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
kazoo/security.py: 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.

Auth Bypass: Misconfigured ACL schemas and identity representations (such as using an incorrect scheme or serialization type) can silently default permissions to open access or fail to restrict operations to the creator. Developers must ensure that 'auth' scheme definitions and identity structures strictly conform to ZooKeeper specifications.
Information Disclosure: Failure to set close-on-exec flags on system-level pipes allows file descriptors to leak into subprocesses, resulting in potential information disclosure. All low-level descriptor creation paths must explicitly enforce FD_CLOEXEC.