Categories
CVE-2022-24877

Improper path handling in kustomization files allows path traversal

Summary

Improper path handling in kustomization files allows path traversal

Original description

The description as published by the source.

Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious kustomization.yaml allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate kustomization.yaml files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

Go github.com/fluxcd/kustomize-controller
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}]
Go github.com/fluxcd/flux2
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}]
Bitnami flux
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.29.0"}]}]
Bitnami kustomize
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.24.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details