CVE-2024-56514
Karmada is a Kubernetes management system that allows users to run cloud-native applications across multiple Kubernetes clusters and clouds. Prior to version 1.12.0, both in karmadactl and karmada-operator, it is possible to supply a filesystem path, or an HTTP(s) URL to retrieve the custom resource definitions(CRDs) needed by Karmada. The CRDs are downloaded as a gzipped tarfile and are vulnerable to a TarSlip vulnerability. An attacker able to supply a malicious CRD file into a Karmada initialization could write arbitrary files in arbitrary paths of the filesystem. From Karmada version 1.12.0, when processing custom CRDs files, CRDs archive verification is utilized to enhance file system robustness. A workaround is available. Someone who needs to set flag `--crd` to customize the CRD files required for Karmada initialization when using `karmadactl init` to set up Karmada can manually inspect the CRD files to check whether they contain sequences such as `../` that would alter file paths, to determine if they potentially include malicious files. When using karmada-operator to set up Karmada, one must upgrade one's karmada-operator to one of the fixed versions.
EPSS 0.30% · 53.6th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| karmada-io | karmada | < 1.12.0, < 1.12.0 |
| github.com | karmada-io/karmada | 0, 0 |
Exploit Intelligence
- CIRCL seen: CVE-2024-56514 (circl-sighting)
- CIRCL seen: CVE-2024-56514 (circl-sighting)
- https://github.com/karmada-io/karmada/security/advisories/GHSA-cwrh-575j-8vr3 (circl)
- https://github.com/karmada-io/karmada/pull/5703 (circl)
- https://github.com/karmada-io/karmada/pull/5713 (circl)
- https://github.com/karmada-io/karmada/commit/40ec488b18a461ab0f871d2c9ec8665b361f0d50 (circl)
- https://github.com/karmada-io/karmada/commit/f78e7e2a3d02bed04e9bc7abd3ae7b3ac56862d2 (circl)
Timeline
- Jan 21, 1970 Fix PR Merged
- Jan 21, 1970 Fix PR Merged
- Jan 21, 1970 Security Advisory
- Jan 3, 2025 CVE Published
- Jan 3, 2025 PoC Published
- Jan 3, 2025 PoC Published
- Jan 4, 2025 EPSS Score
- Jan 20, 2025 EPSS Score
- Jan 21, 2025 Coalition ESS Score
- Feb 5, 2025 EPSS Score
- Feb 21, 2025 EPSS Score
- Mar 9, 2025 EPSS Score
References
- https://github.com/karmada-io/karmada/security/advisories/GHSA-cwrh-575j-8vr3 url
- https://github.com/karmada-io/karmada/pull/5703 url
- https://github.com/karmada-io/karmada/pull/5713 url
- https://github.com/karmada-io/karmada/commit/40ec488b18a461ab0f871d2c9ec8665b361f0d50 url
- https://github.com/karmada-io/karmada/commit/f78e7e2a3d02bed04e9bc7abd3ae7b3ac56862d2 url
- https://nvd.nist.gov/vuln/detail/CVE-2024-56514 advisory
- https://github.com/karmada-io/karmada package