{"api_version":"1","generated_at":"2026-04-17T05:29:08+00:00","cve":"CVE-2022-24877","urls":{"html":"https://cve.report/CVE-2022-24877","api":"https://cve.report/api/cve/CVE-2022-24877.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24877","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24877"},"summary":{"title":"CVE-2022-24877","description":"Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-05-06 01:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw","name":"https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw","refsource":"CONFIRM","tags":[],"title":"Improper path handling in Kustomization files allows path traversal · Advisory · fluxcd/flux2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24877","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24877","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"24877","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fluxcd","cpe5":"flux2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24877","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"fluxcd","cpe5":"kustomize-controller","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24877","STATE":"PUBLIC","TITLE":"Improper path handling in kustomization files allows path traversal"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"flux2","version":{"version_data":[{"version_value":"flux2 < v0.29.0"},{"version_value":"kustomize-controller < v0.24.0"}]}}]},"vendor_name":"fluxcd"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Flux is an open and extensible continuous delivery solution for Kubernetes. Path Traversal in the kustomize-controller via a malicious `kustomization.yaml` allows an attacker to expose sensitive data from the controller’s pod filesystem and possibly privilege escalation in multi-tenancy deployments. Workarounds include automated tooling in the user's CI/CD pipeline to validate `kustomization.yaml` files conform with specific policies. This vulnerability is fixed in kustomize-controller v0.24.0 and included in flux2 v0.29.0."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]},{"description":[{"lang":"eng","value":"CWE-36: Absolute Path Traversal"}]}]},"references":{"reference_data":[{"name":"https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw","refsource":"CONFIRM","url":"https://github.com/fluxcd/flux2/security/advisories/GHSA-j77r-2fxf-5jrw"}]},"source":{"advisory":"GHSA-j77r-2fxf-5jrw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-05-06 01:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*","versionEndExcluding":"0.29.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*","versionEndExcluding":"0.24.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"24877","Ordinal":"228167","Title":"CVE-2022-24877","CVE":"CVE-2022-24877","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"24877","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}