Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-39272
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:52 UTC · Revision 1
Source evidence
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
core-osv · Original sourcePublished 21 Oct 2022, 00:00 UTC
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.
osv:CVE-2022-39272
Complete source record
{
"id": "31a6fc69b42d5c68a17251fb6fa8e9ebfb126e344eb39c9201123cfb4d10f987",
"url": "https://osv.dev/vulnerability/CVE-2022-39272",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration",
"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.",
"evidence": "osv:CVE-2022-39272",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-39272",
"aliases": [
"BIT-flux-2022-39272",
"BIT-kustomize-2022-39272",
"CVE-2022-39272",
"GHSA-f4p5-x4vc-mh4v",
"GO-2022-1071"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fluxcd/flux2",
"type": "GIT",
"events": [
{
"introduced": "70d0bfce15a916b73b060af53142ff342051f920"
},
{
"fixed": "1bf63a94c22d1b9b7ccf92f66a1a34a74bd72fca"
},
{
"fixed": "82824b4fc6e1396fe01947a29655668a53228a0c"
},
{
"fixed": "789aa322f19307054d595371934eb555954312ab"
},
{
"introduced": "b7727e2659d2476312abdb43f7c9df0f64bfa0e0"
},
{
"fixed": "adf5a5278f164834a29453f47d5281d2616c07e5"
},
{
"fixed": "5346c1cca31261453f1100b3516a77750e46bb17"
},
{
"fixed": "412db70773c6f627e096941bbb154e38184318b6"
},
{
"fixed": "ab00e348a4b82f8ec4001d7e11e77a902e6c1c0c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.35.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:image-automation-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.26.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:image-reflector-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.22.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.24.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.29.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:notification-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.27.0"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fluxcd:source-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.30.0"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/fluxcd/helm-controller",
"type": "GIT",
"events": [
{
"introduced": "a69f3a2b578baaa28b502a2e07fb168b3b41ec7b"
},
{
"fixed": "8805f9032c0ffce89b38a8622b991c472338cb55"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.24.0"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/fluxcd/kustomize-controller",
"type": "GIT",
"events": [
{
"introduced": "74cb7638c4e390d45826b926c24de7fd261b60b2"
},
{
"fixed": "af6ed825bd8d7696eb167c13e1338915e6300f85"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.29.0"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/fluxcd/notification-controller",
"type": "GIT",
"events": [
{
"introduced": "a66409c52bcafc8deaa50401b42576c0e562eded"
},
{
"fixed": "d7c31de723b129f0d49d252415449c667919d28c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fluxcd:notification-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.27.0"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/fluxcd/source-controller",
"type": "GIT",
"events": [
{
"introduced": "24983fad1a3d60fee79a7fc7a7cb85227c367047"
},
{
"fixed": "f4de0a4470c8d05380cf20f266363d4e6d38a0dd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fluxcd:source-controller:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.0.2"
},
{
"fixed": "0.30.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.21.1",
"v0.21.0",
"v0.20.1",
"v0.20.0",
"v0.19.1",
"v0.19.0",
"v0.18.3",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.2",
"v0.17.1",
"v0.17.0",
"v0.16.2",
"v0.16.1",
"v0.15.2",
"v0.16.0",
"v0.15.3",
"v0.15.1",
"v0.15.0",
"v0.14.2",
"v0.14.1",
"v0.14.0",
"v0.13.4",
"v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.13.0",
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.0",
"v0.10.0",
"v0.9.1",
"v0.9.0",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.7",
"v0.7.6",
"v0.7.5",
"v0.7.4",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.7",
"v0.5.9",
"v0.5.8",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"api/v0.24.0",
"v0.23.1",
"api/v0.23.1",
"v0.23.0",
"api/v0.23.0",
"v0.22.2",
"api/v0.22.2",
"v0.22.1",
"api/v0.22.1",
"v0.22.0",
"api/v0.22.0",
"api/v0.21.0",
"api/v0.20.1",
"api/v0.20.0",
"api/v0.19.0",
"api/v0.18.2",
"api/v0.18.1",
"api/v0.18.0",
"api/v0.17.1",
"api/v0.17.0",
"api/v0.16.0",
"api/v0.15.0",
"api/v0.14.1",
"api/v0.14.0",
"api/v0.13.0",
"api/v0.12.2",
"api/v0.12.1",
"api/v0.12.0",
"v0.11.2",
"v0.11.1",
"api/v0.11.1",
"api/v0.11.0",
"v0.10.1",
"api/v0.10.1",
"api/v0.10.0",
"api/v0.9.0",
"api/v0.8.2",
"api/v0.8.1",
"api/v0.8.0",
"api/v0.7.0",
"api/v0.6.1",
"api/v0.6.0",
"api/v0.5.2",
"api/v0.5.1",
"api/v0.5.0",
"v0.4.4",
"api/v0.4.4",
"api/v0.4.3",
"api/v0.4.2",
"api/v0.4.1",
"api/v0.4.0",
"api/v0.3.0",
"api/v0.2.2",
"api/v0.2.1",
"api/v0.2.0",
"api/v0.1.3",
"api/v0.1.2",
"api/v0.1.1",
"api/v0.1.0",
"v0.0.10",
"api/v0.0.10",
"api/v0.0.9",
"v0.0.8",
"api/v0.0.8",
"v0.0.7",
"api/v0.0.7",
"api/v0.0.6",
"v0.0.5",
"api/v0.0.5",
"v0.0.4",
"api/v0.0.4",
"v0.0.3",
"api/v0.0.3",
"v0.0.2",
"api/v0.29.0",
"v0.28.0",
"api/v0.28.0",
"v0.27.1",
"api/v0.27.1",
"v0.27.0",
"api/v0.27.0",
"v0.26.3",
"api/v0.26.3",
"v0.26.2",
"api/v0.26.2",
"v0.26.1",
"api/v0.26.1",
"v0.26.0",
"api/v0.26.0",
"v0.25.0",
"api/v0.25.0",
"v0.24.4",
"api/v0.24.4",
"v0.24.3",
"api/v0.24.3",
"v0.24.2",
"v0.24.1",
"api/v0.24.2",
"api/v0.24.1",
"v0.24.0",
"v0.22.3",
"api/v0.22.3",
"api/v0.21.1",
"v0.20.2",
"api/v0.20.2",
"api/v0.19.1",
"v0.15.5",
"api/v0.15.5",
"v0.15.4",
"api/v0.15.4",
"api/v0.15.3",
"api/v0.15.2",
"api/v0.15.1",
"api/v0.13.3",
"api/v0.13.2",
"api/v0.13.1",
"v0.9.3",
"api/v0.9.3",
"v0.9.2",
"api/v0.9.2",
"api/v0.9.1",
"api/v0.7.4",
"api/v0.7.3",
"api/v0.7.2",
"api/v0.7.1",
"api/v0.6.3",
"api/v0.6.2",
"api/v0.5.3",
"v0.0.13",
"api/v0.0.13",
"v0.0.12",
"api/v0.0.12",
"v0.0.11",
"api/v0.0.11",
"v0.0.9",
"v0.0.6",
"v0.25.2",
"api/v0.25.2",
"v0.25.1",
"api/v0.25.1",
"v0.23.5",
"api/v0.23.5",
"v0.23.4",
"api/v0.23.4",
"v0.23.3",
"api/v0.23.3",
"v0.23.2",
"api/v0.23.2",
"api/v0.30.0",
"v0.29.0",
"v0.25.9",
"api/v0.25.9",
"v0.25.8",
"api/v0.25.8",
"v0.25.7",
"api/v0.25.7",
"v0.25.6",
"api/v0.25.6",
"v0.25.5",
"api/v0.25.5",
"v0.25.4",
"api/v0.25.4",
"v0.25.3",
"api/v0.25.3",
"v0.22.5",
"api/v0.22.5",
"v0.22.4",
"api/v0.22.4",
"v0.21.2",
"api/v0.21.2",
"v0.19.2",
"api/v0.19.2",
"api/v0.17.2",
"api/v0.16.1",
"api/v0.5.6",
"api/v0.5.5",
"api/v0.5.4",
"api/v0.2.3",
"v0.0.18",
"api/v0.0.18",
"v0.0.17",
"api/v0.0.17",
"v0.0.16",
"api/v0.0.16",
"v0.0.15",
"api/v0.0.15",
"v0.0.14",
"api/v0.0.14"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39272.json"
}
}
],
"modified": "2026-10-28T02:30:32.864686112Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39272.json",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1284"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39272.json"
}
},
"related_cves": [
{
"value": "CVE-2022-39272",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500153,
"published_at": "2022-10-21T00:00:00+00:00"
}