github.com/fluxcd/helm-controller/api
Affected
- introduced
0, fixed0.26.0(semver)
Fixed versions
0.26.0
Fix
- Fixed version
0.26.0go get github.com/fluxcd/helm-controller/[email protected]
Advisory
Also known as: BIT-flux-2022-39272, BIT-kustomize-2022-39272, CVE-2022-39272, GHSA-f4p5-x4vc-mh4v
Denial of service in flux controllers in github.com/fluxcd modules
Flux controllers are vulnerable to a denial of service attack.
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.
The issue has two root causes: a) the Kubernetes type metav1.Duration is not fully compatible with the Go type time.Duration as explained in https://github.com/kubernetes/apimachinery/issues/131, and b) a lack of validation within Flux to restrict allowed values.
Not rated by the source.
0, fixed 0.26.0 (semver)0.26.0
0.26.0go get github.com/fluxcd/helm-controller/[email protected]0, fixed 0.26.1 (semver)0.26.1
0.26.1go get github.com/fluxcd/image-automation-controller/[email protected]0, fixed 0.22.1 (semver)0.22.1
0.22.1go get github.com/fluxcd/image-reflector-controller/[email protected]0, fixed 0.30.0 (semver)0.30.0
0.30.0go get github.com/fluxcd/kustomize-controller/[email protected]0, fixed 0.28.0 (semver)0.28.0
0.28.0go get github.com/fluxcd/notification-controller/[email protected]0, fixed 0.30.0 (semver)0.30.0
0.30.0go get github.com/fluxcd/source-controller/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0