CVE-2024-56514 json
Karmada Tar Slips in CRDs archive extraction
published 2025-01-03 22 mo ago modified 2026-06-17 4 mo ago also GHSA-cwrh-575j-8vr3 , GO-2025-3363 , EUVD-2025-0023
- cvss
- 5.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/karmada-io/karmada 1.12.0
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250108T191942-150000.1.26.1
suse advisories SUSE-SU-2025:0060-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250108T191942-1.1
opensuse advisories openSUSE-SU-2025:14624-1
- github.com/karmada-io/karmada@40ec488 commit
- github.com/karmada-io/karmada@f78e7e2 commit
- github.com/karmada-io/karmada#5703 pull request
- github.com/karmada-io/karmada#5713 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 22 mo ago
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/karmada-io/karmada | <1.12.0 |
1.12.0 |
Affected products
- karmada-io karmada
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/karmada-io/karmada/pull/5703
web, patch
-
github.com
/karmada-io/karmada/pull/5713
web, patch
-
github.com
/karmada-io/karmada/commit/40ec488b18a461ab0f871d2c9ec8665b361f0d50
web, patch
-
github.com
/karmada-io/karmada/commit/f78e7e2a3d02bed04e9bc7abd3ae7b3ac56862d2
web, patch
-
github.com
/karmada-io/karmada/security/advisories/GHSA-cwrh-575j-8vr3
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-56514
advisory
-
github.com
/karmada-io/karmada
package
Sources
- CVE List CVE-2024-56514
- GitHub Advisory GHSA-cwrh-575j-8vr3
- NVD CVE-2024-56514
- OSV GO-2025-3363
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.