CVE-2022-39272: Improper Input Validation
(updated )
Flux is an open and extensible continuous delivery solution for Kubernetes. Versions prior to 0.35.0 are subject to a Denial of Service. Users that have permissions to change Flux’s objects, either through a Flux source or directly within a cluster, can provide invalid data to fields .spec.interval
or .spec.timeout
(and structured variations of these fields), causing the entire object type to stop being processed. This issue is patched in version 0.35.0. As a workaround, Admission controllers can be employed to restrict the values that can be used for fields .spec.interval
and .spec.timeout
, however upgrading to the latest versions is still the recommended mitigation.
References
- github.com/advisories/GHSA-f4p5-x4vc-mh4v
- github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v
- github.com/fluxcd/helm-controller/pull/533
- github.com/fluxcd/image-automation-controller/pull/439
- github.com/fluxcd/image-reflector-controller/pull/314
- github.com/fluxcd/kustomize-controller/pull/731
- github.com/fluxcd/notification-controller/pull/420
- github.com/fluxcd/source-controller/pull/903
- github.com/kubernetes/apimachinery
- github.com/kubernetes/apimachinery/issues/131
- nvd.nist.gov/vuln/detail/CVE-2022-39272
- pkg.go.dev/vuln/GO-2022-1071
Detect and mitigate CVE-2022-39272 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →