{"answers":{"affected":"9 open source packages ship an affected version, including github.com/Azure/secrets-store-csi-driver-provider-azure, github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp and github.com/hashicorp/vault-csi-provider. It affects 3 products.","exploited":"There is no known exploitation of CVE-2020-8567 in the wild and no public exploit code.","fix":"Upgrade github.com/Azure/secrets-store-csi-driver-provider-azure to 0.0.10 or later.","what":"CVE-2020-8567 is a medium-severity path traversal vulnerability in Kubernetes Secrets Store CSI Driver, published on 21 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8567 and fix it if it is affected.\n\nWhat it is: CVE-2020-8567 is a medium-severity path traversal vulnerability in Kubernetes Secrets Store CSI Driver, published on 21 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-8567 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/Azure/secrets-store-csi-driver-provider-azure (Go): affected all versions; no fix listed\n- github.com/Azure/secrets-store-csi-driver-provider-azure (Go): affected all versions; fixed in 0.0.10\n- github.com/Azure/secrets-store-csi-driver-provider-azure (Go): affected all versions; fixed in 0.0.10\n- github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp (Go): affected all versions; fixed in 0.2.0\n- github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp (Go): affected all versions; fixed in 0.2.0\n- github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp (Go): affected all versions; fixed in 0.2.0\n- github.com/hashicorp/vault-csi-provider (Go): affected all versions; no fix listed\n- github.com/hashicorp/vault-csi-provider (Go): affected all versions; fixed in 0.0.6\n- github.com/hashicorp/vault-csi-provider (Go): affected all versions; fixed in 0.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8567/ (Markdown: https://insights.sbomify.com/CVE-2020-8567/index.md)","id":"CVE-2020-8567","markdown":"https://insights.sbomify.com/CVE-2020-8567/index.md","name":"CVE-2020-8567","record":{"aliases":["GHSA-2v35-wj4r-rcmv","GO-2024-2750"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes CSI Driver","requires_auth":"low_privilege","summary":"Attackers can write to arbitrary host files via crafted SecretProviderClass objects in Kubernetes Secrets Store CSI Driver plugins.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"secret_manager_provider_for_secret_store_csi_driver","vendor":"google"},{"product":"vault_provider_for_secrets_store_csi_driver","vendor":"hashicorp"},{"product":"azure_key_vault_provider_for_secrets_store_csi_driver","vendor":"microsoft"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"Kubernetes Secrets Store CSI Driver Vault Plugin prior to v0.0.6, Azure Plugin prior to v0.0.10, and GCP Plugin prior to v0.2.0 allow an attacker who can create specially-crafted SecretProviderClass objects to write to arbitrary file paths on the host filesystem, including /var/lib/kubelet/pods.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Kubernetes Secrets Store CSI Driver plugin directory traversals","id":"CVE-2020-8567","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":9,"n_references":2,"next":{"headline":"Kubernetes Secrets Store CSI Driver sync/rotate directory traversal","id":"CVE-2020-8568"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/Azure/secrets-store-csi-driver-provider-azure","purl":"pkg:golang/github.com/Azure/secrets-store-csi-driver-provider-azure","source":"GO-2024-2750"},{"ecosystem":"Go","fixed":["0.0.10"],"introduced":["0"],"last_affected":[],"package":"github.com/Azure/secrets-store-csi-driver-provider-azure","purl":null,"source":"GHSA-2v35-wj4r-rcmv"},{"ecosystem":"Go","fixed":["0.0.10"],"introduced":["0"],"last_affected":[],"package":"github.com/Azure/secrets-store-csi-driver-provider-azure","purl":"pkg:golang/github.com/Azure/secrets-store-csi-driver-provider-azure","source":"GHSA-2v35-wj4r-rcmv"},{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp","purl":null,"source":"GHSA-2v35-wj4r-rcmv"},{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp","purl":"pkg:golang/github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp","source":"GHSA-2v35-wj4r-rcmv"},{"ecosystem":"Go","fixed":["0.2.0"],"introduced":["0"],"last_affected":[],"package":"github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp","purl":"pkg:golang/github.com/GoogleCloudPlatform/secrets-store-csi-driver-provider-gcp","source":"GO-2024-2750"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/vault-csi-provider","purl":"pkg:golang/github.com/hashicorp/vault-csi-provider","source":"GO-2024-2750"},{"ecosystem":"Go","fixed":["0.0.6"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/vault-csi-provider","purl":null,"source":"GHSA-2v35-wj4r-rcmv"},{"ecosystem":"Go","fixed":["0.0.6"],"introduced":["0"],"last_affected":[],"package":"github.com/hashicorp/vault-csi-provider","purl":"pkg:golang/github.com/hashicorp/vault-csi-provider","source":"GHSA-2v35-wj4r-rcmv"}],"prev":{"headline":"Ceph RBD adminSecrets exposed in logs when loglevel \u003e= 4","id":"CVE-2020-8566"},"products":["Kubernetes Secrets Store CSI Driver"],"published":"2021-01-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Kubernetes"]},"summary":"Attackers can write to arbitrary host files via crafted SecretProviderClass objects in Kubernetes Secrets Store CSI Driver plugins.","url":"https://insights.sbomify.com/CVE-2020-8567/"}