Vulnerability · Published Oct 21, 2022 · Assigned by GitHub_M

CVE-2022-39272Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration

Medium 5.0

In plain English

A medium-severity security flaw in flux2 from fluxcd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.8%top 44.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21flux0.36.0-r0ALPINE-CVE-2022-39272
Alpine:v3.22flux0.36.0-r0ALPINE-CVE-2022-39272
Alpine:v3.23flux0.36.0-r0ALPINE-CVE-2022-39272
Alpine:v3.24flux0.36.0-r0ALPINE-CVE-2022-39272
Gogithub.com/fluxcd/flux20.35.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/helm-controller0.24.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/helm-controller/api0.26.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/helm-controller/api0.26.0GO-2022-1071
Gogithub.com/fluxcd/image-automation-controller0.26.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/image-automation-controller/api0.26.1GO-2022-1071
Gogithub.com/fluxcd/image-automation-controller/api0.26.1GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/image-reflector-controller0.22.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/image-reflector-controller/api0.22.1GO-2022-1071
Gogithub.com/fluxcd/image-reflector-controller/api0.22.1GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/kustomize-controller0.29.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/kustomize-controller/api0.30.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/kustomize-controller/api0.30.0GO-2022-1071
Gogithub.com/fluxcd/notification-controller0.27.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/notification-controller/api0.28.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/notification-controller/api0.28.0GO-2022-1071
Gogithub.com/fluxcd/source-controller0.30.0GHSA-f4p5-x4vc-mh4v
Gogithub.com/fluxcd/source-controller/api0.30.0GO-2022-1071
Gogithub.com/fluxcd/source-controller/api0.30.0GHSA-f4p5-x4vc-mh4v

Affected products (as reported)

VendorProductVersions
fluxcd flux2 < 0.35.0

Weakness: CWE-1284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L

References