CVE-2022-24877: Improper path handling in kustomization files allows path traversal

Published May 6, 2022
·
Updated

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.

Other sources

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.

Affected Software

2 affected components
fluxcd Flux2<0.29.0
fluxcd Kustomize-controller<0.24.0

Event History

May 6, 2022
CVE Published
via MITRE·01:10 AM
Data Sourced
via MITRE·01:10 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-24877?

CVE-2022-24877 is a vulnerability in Flux and Kustomize-controller that allows path traversal and potential privilege escalation in multi-tenancy deployments.

2

What is the severity of CVE-2022-24877?

CVE-2022-24877 has a severity level of critical with a CVSS score of 8.8.

3

Which software versions are affected by CVE-2022-24877?

Flux version up to 0.29.0 and Kustomize-controller version up to 0.24.0 are affected by CVE-2022-24877.

4

How can an attacker exploit CVE-2022-24877?

An attacker can exploit CVE-2022-24877 by using a malicious `kustomization.yaml` file to perform path traversal and expose sensitive data from the controller's pod filesystem.

5

Is there a fix available for CVE-2022-24877?

Yes, it is recommended to update Flux to version 0.29.0 or newer, and Kustomize-controller to version 0.24.0 or newer to mitigate CVE-2022-24877.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203