Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fluxcd/kustomize-controller
  4. ›
  5. CVE-2022-24878

CVE-2022-24878: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

May 6, 2022 (updated May 14, 2022)

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 cause a Denial of Service at the controller level. 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. Users are recommended to upgrade.

References

  • github.com/fluxcd/flux2/security/advisories/GHSA-7pwf-jg34-hxwp
  • nvd.nist.gov/vuln/detail/CVE-2022-24878

Code Behaviors & Features

Detect and mitigate CVE-2022-24878 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.24.0

Fixed versions

  • v0.24.0

Solution

Upgrade to version 0.24.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/fluxcd/kustomize-controller/CVE-2022-24878.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.