GO-2022-0447: 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.

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade kustomize-controller to a version that resolves this vulnerability.

    Fixed in v0.24.0
  2. Upgrade

    Upgrade flux2 to a version that resolves this vulnerability.

    Fixed in v0.29.0
  3. Compensating control

    Use automated tooling in the CI/CD pipeline to validate kustomization.yaml files against specific policies.

Event History

May 6, 2022
CVE Published
via OSV·01:10 AM
Data Sourced
via OSV·01:10 AM
DescriptionSeverityWeakness

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