{"answers":{"affected":"3 open source packages ship an affected version, including sigs.k8s.io/secrets-store-csi-driver. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-8568 in the wild and no public exploit code.","fix":"Upgrade sigs.k8s.io/secrets-store-csi-driver to 0.0.17 or later.","what":"CVE-2020-8568 is a medium-severity path traversal vulnerability in Kubernetes Secrets Store CSI Driver, published on 21 Jan 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8568 and fix it if it is affected.\n\nWhat it is: CVE-2020-8568 is a medium-severity path traversal vulnerability in Kubernetes Secrets Store CSI Driver, published on 21 Jan 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-8568 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected from 0.0.15; fixed in 0.0.17\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected from 0.0.15; fixed in 0.0.17\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected from 0.0.15; fixed in 0.0.17\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-8568/ (Markdown: https://insights.sbomify.com/CVE-2020-8568/index.md)","id":"CVE-2020-8568","markdown":"https://insights.sbomify.com/CVE-2020-8568/index.md","name":"CVE-2020-8568","record":{"aliases":["GHSA-5cgx-vhfp-6cf9","GO-2022-0629"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes CSI Driver","requires_auth":"high_privilege","summary":"Attackers with resource modification rights can write to host filesystem and sync secrets via path traversal in Kubernetes Secrets Store CSI Driver.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"secrets_store_csi_driver","vendor":"kubernetes"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-24","name":"Path Traversal: '../filedir'"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Kubernetes Secrets Store CSI Driver versions v0.0.15 and v0.0.16 allow an attacker who can modify a SecretProviderClassPodStatus/Status resource the ability to write content to the host filesystem and sync file contents to Kubernetes Secrets. This includes paths under var/lib/kubelet/pods that contain other Kubernetes Secrets.","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 sync/rotate directory traversal","id":"CVE-2020-8568","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":3,"n_references":2,"next":{"headline":"Kubernetes CSI snapshot-controller DoS","id":"CVE-2020-8569"},"packages":[{"ecosystem":"Go","fixed":["0.0.17"],"introduced":["0.0.15"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":null,"source":"GHSA-5cgx-vhfp-6cf9"},{"ecosystem":"Go","fixed":["0.0.17"],"introduced":["0.0.15"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":"pkg:golang/sigs.k8s.io/secrets-store-csi-driver","source":"GHSA-5cgx-vhfp-6cf9"},{"ecosystem":"Go","fixed":["0.0.17"],"introduced":["0.0.15"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":"pkg:golang/sigs.k8s.io/secrets-store-csi-driver","source":"GO-2022-0629"}],"prev":{"headline":"Kubernetes Secrets Store CSI Driver plugin directory traversals","id":"CVE-2020-8567"},"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-17","vendors":["Kubernetes"]},"summary":"Attackers with resource modification rights can write to host filesystem and sync secrets via path traversal in Kubernetes Secrets Store CSI Driver.","url":"https://insights.sbomify.com/CVE-2020-8568/"}