Skip to content

fix(server): scope CLIENT LIST/INFO/KILL to caller's namespace#3536

Merged
git-hulk merged 2 commits into
apache:unstablefrom
git-hulk:scope-client-kill
Jun 23, 2026
Merged

fix(server): scope CLIENT LIST/INFO/KILL to caller's namespace#3536
git-hulk merged 2 commits into
apache:unstablefrom
git-hulk:scope-client-kill

Conversation

@git-hulk

Copy link
Copy Markdown
Member

Non-admin (tenant) connections could previously enumerate and terminate connections belonging to other namespaces — including the admin namespace and replication links — via CLIENT LIST and CLIENT KILL. Filter both per-worker iteration and the slave-thread enumeration by the caller's namespace, allowing only admin (default-namespace) callers to see or kill connections outside their own namespace.

Assistant By Claude Opus 4.7

Non-admin (tenant) connections could previously enumerate and terminate
connections belonging to other namespaces — including the admin
namespace and replication links — via CLIENT LIST and CLIENT KILL.
Filter both per-worker iteration and the slave-thread enumeration by
the caller's namespace, allowing only admin (default-namespace) callers
to see or kill connections outside their own namespace.

Assistant By Claude Opus 4.7
Comment thread src/server/server.cc Outdated
@git-hulk git-hulk enabled auto-merge (squash) June 23, 2026 04:54
@git-hulk git-hulk merged commit 6367221 into apache:unstable Jun 23, 2026
37 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants