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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.0
- **CVSS:** 5.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-1284
- **Aliases:** BIT-flux-2022-39272, BIT-kustomize-2022-39272, GHSA-f4p5-x4vc-mh4v, GO-2022-1071
- **Published:** 2022-10-19T18:40:02.000Z
- **Modified:** 2026-09-10T03:49:46.466Z

## Who should check

- Projects that depend on Go package github.com/fluxcd/flux2 (\>= 0.1.0, \< 0.35.0)
- Projects that depend on Go package github.com/fluxcd/source-controller (\>= 0.0.1-alpha-1, \< 0.30.0)
- Projects that depend on Go package github.com/fluxcd/kustomize-controller (\>= 0.0.1-alpha-1, \< 0.29.0)
- Projects that depend on Go package github.com/fluxcd/helm-controller (\>= 0.0.1-alpha-1, \< 0.24.0)
- Projects that depend on Go package github.com/fluxcd/notification-controller (\>= 0.0.1-alpha-1, \< 0.27.0)
- Projects that depend on Go package github.com/fluxcd/image-automation-controller (\>= 0.1.0, \< 0.26.0)
- Projects that depend on Go package github.com/fluxcd/image-reflector-controller (\>= 0.1.0, \< 0.22.0)
- Projects that depend on Go package github.com/fluxcd/helm-controller/api (\< 0.26.0)

## 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 and fixed versions

- Go `github.com/fluxcd/flux2`: affected \>= 0.1.0, \< 0.35.0; fixed 0.35.0 (osv)
- Go `github.com/fluxcd/source-controller`: affected \>= 0.0.1-alpha-1, \< 0.30.0; fixed 0.30.0 (osv)
- Go `github.com/fluxcd/kustomize-controller`: affected \>= 0.0.1-alpha-1, \< 0.29.0; fixed 0.29.0 (osv)
- Go `github.com/fluxcd/helm-controller`: affected \>= 0.0.1-alpha-1, \< 0.24.0; fixed 0.24.0 (osv)
- Go `github.com/fluxcd/notification-controller`: affected \>= 0.0.1-alpha-1, \< 0.27.0; fixed 0.27.0 (osv)
- Go `github.com/fluxcd/image-automation-controller`: affected \>= 0.1.0, \< 0.26.0; fixed 0.26.0 (osv)
- Go `github.com/fluxcd/image-reflector-controller`: affected \>= 0.1.0, \< 0.22.0; fixed 0.22.0 (osv)
- Go `github.com/fluxcd/helm-controller/api`: affected \< 0.26.0; fixed 0.26.0 (osv)
- Go `github.com/fluxcd/image-automation-controller/api`: affected \< 0.26.1; fixed 0.26.1 (osv)
- Go `github.com/fluxcd/image-reflector-controller/api`: affected \< 0.22.1; fixed 0.22.1 (osv)
- Go `github.com/fluxcd/kustomize-controller/api`: affected \< 0.30.0; fixed 0.30.0 (osv)
- Go `github.com/fluxcd/notification-controller/api`: affected \< 0.28.0; fixed 0.28.0 (osv)
- Go `github.com/fluxcd/source-controller/api`: affected \< 0.30.0; fixed 0.30.0 (osv)
- fluxcd flux2: \< 0.35.0 (cvelist)

## Mitigation

- Upgrade github.com/fluxcd/flux2 to 0.35.0 or later.
- Upgrade github.com/fluxcd/source-controller to 0.30.0 or later.
- Upgrade github.com/fluxcd/kustomize-controller to 0.29.0 or later.
- Upgrade github.com/fluxcd/helm-controller to 0.24.0 or later.
- Upgrade github.com/fluxcd/notification-controller to 0.27.0 or later.
- Upgrade github.com/fluxcd/image-automation-controller to 0.26.0 or later.
- Upgrade github.com/fluxcd/image-reflector-controller to 0.22.0 or later.
- Upgrade github.com/fluxcd/helm-controller/api to 0.26.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-39272. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-39272.md
Affected: github.com/fluxcd/flux2 >= 0.1.0, < 0.35.0; github.com/fluxcd/source-controller >= 0.0.1-alpha-1, < 0.30.0; github.com/fluxcd/kustomize-controller >= 0.0.1-alpha-1, < 0.29.0; github.com/fluxcd/helm-controller >= 0.0.1-alpha-1, < 0.24.0; github.com/fluxcd/notification-controller >= 0.0.1-alpha-1, < …
Fixed in: 0.35.0, 0.30.0, 0.29.0, 0.24.0, 0.27.0, 0.26.0, 0.22.0, 0.26.1, 0.22.1, 0.28.0

Steps:
1. Search this machine and project for github.com/fluxcd/flux2 (Go), github.com/fluxcd/source-controller (Go), github.com/fluxcd/kustomize-controller (Go), github.com/fluxcd/helm-controller (Go), github.com/fluxcd/notification-controller (Go), github.com/fluxcd/image-automation-controller (Go): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-39272 being exploited?

There is no confirmed exploitation: CVE-2022-39272 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-39272?

Medium: CVSS 5.0 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-39272?

github.com/fluxcd/flux2 \>= 0.1.0, \< 0.35.0; github.com/fluxcd/source-controller \>= 0.0.1-alpha-1, \< 0.30.0; github.com/fluxcd/kustomize-controller \>= 0.0.1-alpha-1, \< 0.29.0; github.com/fluxcd/helm-controller \>= 0.0.1-alpha-1, \< 0.24.0; github.com/fluxcd/notification-controller \>= 0.0.1-alpha-1, \< 0.27.0; github.com/fluxcd/image-automation-controller \>= 0.1.0, \< 0.26.0; github.com/fluxcd/image-reflector-controller \>= 0.1.0, \< 0.22.0; github.com/fluxcd/helm-controller/api \< 0.26.0; github.com/fluxcd/image-automation-controller/api \< 0.26.1; github.com/fluxcd/image-reflector-controller/api \< 0.22.1; github.com/fluxcd/kustomize-controller/api \< 0.30.0; github.com/fluxcd/notification-controller/api \< 0.28.0; github.com/fluxcd/source-controller/api \< 0.30.0.

### Is there a fix for CVE-2022-39272?

Yes. Fixed in 0.35.0, 0.30.0, 0.29.0, 0.24.0, 0.27.0, 0.26.0, 0.22.0, 0.26.1, 0.22.1, 0.28.0. Upgrade github.com/fluxcd/flux2 to 0.35.0 or later. Upgrade github.com/fluxcd/source-controller to 0.30.0 or later. Upgrade github.com/fluxcd/kustomize-controller to 0.29.0 or later. Upgrade github.com/fluxcd/helm-controller to 0.24.0 or later. Upgrade github.com/fluxcd/notification-controller to 0.27.0 or later. Upgrade github.com/fluxcd/image-automation-controller to 0.26.0 or later. Upgrade github.com/fluxcd/image-reflector-controller to 0.22.0 or later. Upgrade github.com/fluxcd/helm-controller/api to 0.26.0 or later.

### How do I check if I'm affected by CVE-2022-39272?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-39272>
- vendor: <https://github.com/advisories/GHSA-f4p5-x4vc-mh4v>
- patch: <https://github.com/kubernetes/apimachinery/issues/131>
- patch: <https://github.com/fluxcd/helm-controller/pull/533>
- patch: <https://github.com/fluxcd/image-automation-controller/pull/439>
- patch: <https://github.com/fluxcd/image-reflector-controller/pull/314>
- patch: <https://github.com/fluxcd/kustomize-controller/pull/731>
- patch: <https://github.com/fluxcd/notification-controller/pull/420>
- patch: <https://github.com/fluxcd/source-controller/pull/903>
- other: <https://github.com/fluxcd/flux2>
- other: <https://github.com/kubernetes/apimachinery#131>
- other: <https://pkg.go.dev/vuln/GO-2022-1071>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-39272>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f4p5-x4vc-mh4v> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-1071> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-39272> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-39272>
