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

9.9CRITICAL

Key Information:

Vendor

Fluxcd

Status
Vendor
CVE Published:
6 May 2022

What is CVE-2022-24877?

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 Version(s)

flux2 flux2 < v0.29.0 < flux2 v0.29.0

flux2 kustomize-controller < v0.24.0 < kustomize-controller v0.24.0

References

CVSS V3.1

Score:
9.9
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.