# Improper use of metav1.Duration allows for Denial of Service

Advisory record · `GHSA-f4p5-x4vc-mh4v`

- **Identifiers:** `GHSA-f4p5-x4vc-mh4v` · `BIT-flux-2022-39272` · `BIT-kustomize-2022-39272` · `CVE-2022-39272` · `GO-2022-1071`
- **State:** Confirmed
- **Severity:** CVSS 5.0 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-1284](https://cwe.mitre.org/data/definitions/1284.html)
- **Tags:** [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md) · [CWE-1284](https://agentprime.io/advisories/tag/cwe-1284.md)
- **Published:** 19 Oct 2022
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Oct 2022, 18:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Flux controllers (flux2 and several Flux controllers and API modules, with affected versions listed per package) are vulnerable to denial of service. A user with permission to change Flux objects, directly or through a Flux source, can supply invalid values in the interval or timeout fields, which stops that object type from being processed. Upgrade to flux2 0.35.0 or later, and to the fixed version listed for each affected controller and API module. Admission controllers can restrict values for these fields as an alternative.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.0 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0079, the 56th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f4p5-x4vc-mh4v)

## Sources

- [GitHub Advisory Database: GHSA-f4p5-x4vc-mh4v](https://github.com/advisories/GHSA-f4p5-x4vc-mh4v)
- [OSV: GHSA-f4p5-x4vc-mh4v](https://osv.dev/vulnerability/GHSA-f4p5-x4vc-mh4v)
- <https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39272>
- <https://github.com/kubernetes/apimachinery/issues/131>
- <https://github.com/fluxcd/helm-controller/pull/533>
- <https://github.com/fluxcd/image-automation-controller/pull/439>
- <https://github.com/fluxcd/image-reflector-controller/pull/314>
- <https://github.com/fluxcd/kustomize-controller/pull/731>
- <https://github.com/fluxcd/notification-controller/pull/420>
- <https://github.com/fluxcd/source-controller/pull/903>
- <https://github.com/fluxcd/flux2>
- <https://github.com/kubernetes/apimachinery#131>
- <https://pkg.go.dev/vuln/GO-2022-1071>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f4p5-x4vc-mh4v>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f4p5-x4vc-mh4v/>. Everything for agents: <https://agentprime.io/llms.txt>.
