CVE-2022-46167
Summary
| CVE | CVE-2022-46167 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-02 19:15:00 UTC |
| Updated | 2023-11-07 03:55:00 UTC |
| Description | Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to version 0.1.3, a ServiceAccount deployed in a Tenant Namespace, when granted with `PATCH` capabilities on its own Namespace, is able to edit it and remove the Owner Reference, breaking the reconciliation of the Capsule Operator and removing all the enforcement like Pod Security annotations, Network Policies, Limit Range and Resource Quota items. An attacker could detach the Namespace from a Tenant that is forbidding starting privileged Pods using the Pod Security labels by removing the OwnerReference, removing the enforcement labels, and being able to start privileged containers that would be able to start a generic Kubernetes privilege escalation. Patches have been released for version 0.1.3. No known workarounds are available. |
Risk And Classification
Problem Types: CWE-863
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release v0.1.3 · clastix/capsule · GitHub | MISC | github.com | |
| Privilege escalation by ServiceAccount deployed in a Tenant Namespace · Advisory · clastix/capsule · GitHub | MISC | github.com | |
| test: preventing serviceaccount privilege escalation · clastix/capsule@1df430e · GitHub | MISC | github.com | |
| fix: preventing serviceaccount privilege escalation · clastix/capsule@75525ac · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.