Skip to main content
← All vulnerabilities
CVE-2022-39272GO-2022-1071BIT-FLUX-2022-39272BIT-KUSTOMIZE-2022-39272GHSA-F4P5-X4VC-MH4V

Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.35.0, 0.26.0, 0.26.1, 0.22.1, 0.30.0, and 5 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • fluxcd flux2

    fixed in 0.35.0

  • github.com/fluxcd/helm-controller/apiGo

    fixed in 0.26.0

  • github.com/fluxcd/image-automation-controller/apiGo

    fixed in 0.26.1

  • github.com/fluxcd/image-reflector-controller/apiGo

    fixed in 0.22.1

  • github.com/fluxcd/kustomize-controller/apiGo

    fixed in 0.30.0

  • github.com/fluxcd/notification-controller/apiGo

    fixed in 0.28.0

  • github.com/fluxcd/source-controller/apiGo

    fixed in 0.30.0

  • github.com/fluxcd/flux2Go

    From 0.1.0 · fixed in 0.35.0

  • github.com/fluxcd/source-controllerGo

    From 0.0.1-alpha-1 · fixed in 0.30.0

  • github.com/fluxcd/kustomize-controllerGo

    From 0.0.1-alpha-1 · fixed in 0.29.0

  • github.com/fluxcd/helm-controllerGo

    From 0.0.1-alpha-1 · fixed in 0.24.0

  • github.com/fluxcd/notification-controllerGo

    From 0.0.1-alpha-1 · fixed in 0.27.0

  • github.com/fluxcd/image-automation-controllerGo

    From 0.1.0 · fixed in 0.26.0

  • github.com/fluxcd/image-reflector-controllerGo

    From 0.1.0 · fixed in 0.22.0

References 2

GitHub · fluxcd/flux2

GitHub · kubernetes/apimachinery