Kubernetes posture check · Kubernetes

Role can approve certificate signing requests

Reads every role in the cluster through the Kubernetes API and reports each one where this is true: role can approve certificate signing requests.

Why it matters

Approving a CSR can mint a client certificate for any user, including a member of system:masters on some distributions.

How to fix it

Restrict CSR approval to the controller manager.

What TrustIvan reads

Read through the Kubernetes API with the read-only role TrustIvan's install creates.

Benchmark controls

  • CIS Kubernetes Benchmark 1.9.0, control 5.1.11: Access to approve certificate signing requests is minimised

Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.

Terms: KSPM (Kubernetes security posture management), Kubernetes RBAC, NSA/CISA Kubernetes Hardening Guidance, CIS Benchmarks

All Kubernetes posture checks · The whole catalogue · How this works in TrustIvan · Documentation

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.