CVE-2022-24817
CVSS V2 Medium 6.5
CVSS V3 Critical 9.9
Description
Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Injection via malicious Kubeconfig. In multi-tenancy deployments this can also lead to privilege escalation if the controller's service account has elevated permissions. Workarounds include disabling functionality via Validating Admission webhooks by restricting users from setting the `spec.kubeConfig` field in Flux `Kustomization` and `HelmRelease` objects. Additional mitigations include applying restrictive AppArmor and SELinux profiles on the controller’s pod to limit what binaries can be executed. This vulnerability is fixed in kustomize-controller v0.23.0 and helm-controller v0.19.0, both included in flux2 v0.29.0
Overview
- CVE ID
- CVE-2022-24817
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-05-06T00:15:07
- Last Modified Date
- 2022-05-16T19:07:10
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:* | 1 | OR | 0.1.0 | 0.29.0 |
cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:* | 1 | OR | 0.2.0 | 0.19.0 |
cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:* | 1 | OR | 0.1.0 | 0.23.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.9
- Base Severity
- CRITICAL
- Exploitability Score
- 3.1
- Impact Score
- 6
References
Reference URL | Reference Tags |
---|---|
https://github.com/fluxcd/flux2/security/advisories/GHSA-vvmq-fwmg-2gjc |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-24817 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24817 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-08 06:18:59 | Added to TrackCVE |