CVE-2022-46167 json
Capsule vulnerable to privilege escalation by ServiceAccount deployed in a Tenant Namespace
published 2022-12-02 3 y ago modified 2026-06-17 4 mo ago also GHSA-x45c-cvp8-q4fm , GO-2022-1135 , EUVD-2022-7769
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/clastix/capsule 0.1.3
- clastix capsule 0.1.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/clastix/capsule | <0.1.3 |
0.1.3 |
Affected products
- clastix capsule
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/clastix/capsule/commit/1df430e71be8c4778c82eca3459978ad7d0b4b7b
web, patch, third-party-advisory
-
github.com
/clastix/capsule/commit/75525ac19254b0c5111e34d7985e2be7bc8b1ac1
web, patch, third-party-advisory
-
github.com
/clastix/capsule/releases/tag/v0.1.3
web, patch, release-notes, third-party-advisory
-
github.com
/clastix/capsule/security/advisories/GHSA-x45c-cvp8-q4fm
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-46167
advisory
-
github.com
/clastix/capsule
package
Sources
- CVE List CVE-2022-46167
- GitHub Advisory GHSA-x45c-cvp8-q4fm
- NVD CVE-2022-46167
- OSV GO-2022-1135
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.