CVE-2022-24878: GO-2022-0448 - Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2

CVE-2022-24878 · Severity: low · CVSS 3.1 · Published 2024-08-21

Improper path handling in Kustomization files allows for denial of service in github.com/fluxcd/flux2

Technologies: github.com/fluxcd/flux2 (Go), github.com/fluxcd/kustomize-controller (Go). Vendors: Go.

Quick answers

Is CVE-2022-24878 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-24878 being exploited in the wild.
How severe is CVE-2022-24878?
Low severity, with a CVSS score of 3.1, published 21 August 2024.
Which products and versions are affected?
github.com/fluxcd/flux2 (Go) SEMVER:introduced=0.19.0,fixed=0.29.0; github.com/fluxcd/kustomize-controller (Go) SEMVER:introduced=0.16.0,fixed=0.24.0.
Is there a fix for CVE-2022-24878?
Yes. github.com/fluxcd/flux2 (Go): upgrade to 0.29.0 or later; github.com/fluxcd/kustomize-controller (Go): upgrade to 0.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-24878?
Check whether you run github.com/fluxcd/flux2 (Go) or github.com/fluxcd/kustomize-controller (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/fluxcd/flux2 (Go): upgrade to 0.29.0 or later
    go get github.com/fluxcd/flux2@v0.29.0
  • github.com/fluxcd/kustomize-controller (Go): upgrade to 0.24.0 or later
    go get github.com/fluxcd/kustomize-controller@v0.24.0

Affected products

  • github.com/fluxcd/flux2 (Go) SEMVER:introduced=0.19.0,fixed=0.29.0
  • github.com/fluxcd/kustomize-controller (Go) SEMVER:introduced=0.16.0,fixed=0.24.0

Identifiers

  • CVE-2022-24878
  • GHSA-7pwf-jg34-hxwp
  • GO-2022-0448

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.