CVEfocus › CVE database › CVE-2022-39272

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

CVSS 5.0 MediumEPSS 0.9% (higher than 56% of CVEs)Published 2022-10-21Updated 2025-04-23Assigner: GitHub_M

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.

CWE-1284

What to do

Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24fluxFixed0.36.0-r0ALPINE-CVE-2022-39272
Alpine Linux 3.23fluxFixed0.36.0-r0ALPINE-CVE-2022-39272
Alpine Linux 3.22fluxFixed0.36.0-r0ALPINE-CVE-2022-39272
Alpine Linux 3.21fluxFixed0.36.0-r0ALPINE-CVE-2022-39272
Go librarygithub.com/fluxcd/flux2Fixed0.35.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/helm-controllerFixed0.24.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/helm-controller/apiFixed0.26.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/image-automation-controllerFixed0.26.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/image-automation-controller/apiFixed0.26.1GO-2022-1071
Go librarygithub.com/fluxcd/image-reflector-controllerFixed0.22.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/image-reflector-controller/apiFixed0.22.1GO-2022-1071
Go librarygithub.com/fluxcd/kustomize-controllerFixed0.29.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/kustomize-controller/apiFixed0.30.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/notification-controllerFixed0.27.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/notification-controller/apiFixed0.28.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/source-controllerFixed0.30.0GHSA-f4p5-x4vc-mh4v
Go librarygithub.com/fluxcd/source-controller/apiFixed0.30.0GO-2022-1071

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.