GitHub Advisory Database
GHSA-mg7w-c9x2-xh7r
Karmada PULL Mode Cluster Privilege Escalation
Details
Impact
_What kind of vulnerability is it? Who is impacted?_
The PULL mode clusters registered with the karmadactl register command have excessive privileges to access control plane resources. By abusing these permissions, an attacker able to authenticate as the karmada-agent to a karmada cluster would be able to obtain administrative privileges over the entire federation system including all registered member clusters.
Patches
_Has the problem been patched? What versions should users upgrade to?_
Since Karmada v1.12.0, command karmadactl register restricts the access permissions of pull mode member clusters to control plane resources. This way, an attacker able to authenticate as the karmada-agent cannot control other member clusters in Karmada.
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
Restricts the access permissions of pull mode member clusters to control plane resources according to Karmada Component Permissions Docs.
References
_Are there any links users can visit to find out more?_
- Enhancements made from the Karmada community: https://github.com/karmada-io/karmada/pull/5793
- Karmada Component Permissions: https://karmada.io/docs/administrator/security/component-permission
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/karmada-io/karmada | All versions before 1.12.0 (fixed in 1.12.0) |
References
- https://github.com/karmada-io/karmada/security/advisories/GHSA-mg7w-c9x2-xh7r
- https://nvd.nist.gov/vuln/detail/CVE-2024-56513
- https://github.com/karmada-io/karmada/pull/5793
- https://github.com/karmada-io/karmada/commit/2c82055c4c7f469411b1ba48c4dba4841df04831
- https://github.com/karmada-io/karmada
- https://karmada.io/docs/administrator/security/component-permission