Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fluxcd/source-controller/api/v1beta2
  4. ›
  5. CVE-2022-39272

CVE-2022-39272: Improper Input Validation

October 19, 2022 (updated February 9, 2023)

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

Code Behaviors & Features

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 →

Affected versions

All versions before 0.30.0

Fixed versions

  • v0.30.0

Solution

Upgrade to version 0.30.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/github.com/fluxcd/source-controller/api/v1beta2/CVE-2022-39272.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.