CVE-2024-56514

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56514
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56514.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56514
Aliases
Published
2025-01-03T17:15:09Z
Modified
2025-01-08T16:23:11.412050Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/karmada-io/karmada

Affected ranges

Type
GIT
Repo
https://github.com/karmada-io/karmada
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.10.1
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.10.0-alpha.0
v1.10.0-preview1
v1.10.0-preview2
v1.10.0-preview3
v1.10.0-preview4
v1.11.0
v1.11.0-alpha.0
v1.12.0-alpha.0
v1.12.0-alpha.1
v1.12.0-beta.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.7.0
v1.7.0-alpha.1
v1.7.0-alpha.2
v1.7.0-alpha.3
v1.8.0
v1.8.0-alpha.0
v1.8.0-alpha.1
v1.8.0-preview1
v1.8.0-preview2
v1.9.0
v1.9.0-alpha.0
v1.9.0-preview1
v1.9.0-preview2
v1.9.0-preview3
v1.9.0-preview4
v1.9.0-preview5
v1.9.0-preview6