GitHub Advisoryadvisory · Go
GHSA-mg7w-c9x2-xh7r Karmada PULL Mode Cluster Privilege Escalation
HIGH
Official page ↗
- Aliases
- CVE-2024-56513
- Ecosystem
- Go
- Packages
- github.com/karmada-io/karmada
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weaknesses
- CWE-266
- Reviewed
- 2025-01-03
Affected packages
• Go github.com/karmada-io/karmada: < 1.12.0 → fixed in 1.12.0
Description
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?_
1. Enhancements made from the Karmada community: https://github.com/karmada-io/karmada/pull/5793
2. Karmada Component Permissions: https://karmada.io/docs/administrator/security/component-permission
Related
Alias · CVE (1)
- CVE-2024-56513 Karmada is a Kubernetes management system that allows users to run cloud-native applications across multiple Kubernetes clusters and clouds. vulnerability
Weakness · CWE (1)
- CWE-266 Incorrect Privilege Assignment weakness
References
- https://github.com/karmada-io/karmada/security/advisories/GHSA-mg7w-c9x2-xh7r web
- https://nvd.nist.gov/vuln/detail/CVE-2024-56513 advisory
- https://github.com/karmada-io/karmada/pull/5793 web
- https://github.com/karmada-io/karmada/commit/2c82055c4c7f469411b1ba48c4dba4841df04831 web
- https://github.com/karmada-io/karmada package
- https://karmada.io/docs/administrator/security/component-permission web