CVE-2022-39272
Improper use of metav1.Duration allows for Denial of Service
Overview
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.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-1284
Affected packages · 15
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | flux | 0.36.0-r0 |
| 3.23 | flux | 0.36.0-r0 |
| 3.24 | flux | 0.36.0-r0 |
| edge | flux | 0.36.0-r0 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubevela | 1.9.9-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kubevela | 1.9.9-r0 |
References
- github.com https://github.com/fluxcd/flux2
- github.com https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v
- github.com https://github.com/fluxcd/helm-controller/pull/533
- github.com https://github.com/fluxcd/image-automation-controller/pull/439
- github.com https://github.com/fluxcd/image-reflector-controller/pull/314
- github.com https://github.com/fluxcd/kustomize-controller/pull/731
- github.com https://github.com/fluxcd/notification-controller/pull/420
- github.com https://github.com/fluxcd/source-controller/pull/903
- github.com https://github.com/kubernetes/apimachinery#131
- github.com https://github.com/kubernetes/apimachinery/issues/131
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.