CWE
22 36
Advisory Published
Updated

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

First published: Fri May 06 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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Fluxcd Flux2<0.29.0
Fluxcd Kustomize-controller<0.24.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • What is the severity of CVE-2022-24877?

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

  • 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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203