{"answers":{"affected":"3 open source packages ship an affected version, including sigs.k8s.io/secrets-store-csi-driver. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2878 exists.","fix":"Upgrade sigs.k8s.io/secrets-store-csi-driver to 1.3.3 or later.","what":"CVE-2023-2878 is a medium-severity vulnerability in Kubernetes secrets-store-csi-driver, published on 7 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-2878 and fix it if it is affected.\n\nWhat it is: CVE-2023-2878 is a medium-severity vulnerability in Kubernetes secrets-store-csi-driver, published on 7 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2878 exists.\n\nAffected packages and fixed versions:\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected all versions; fixed in 1.3.3\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected all versions; fixed in 1.3.3\n- sigs.k8s.io/secrets-store-csi-driver (Go): affected all versions; fixed in 1.3.3\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-2023-2878/ (Markdown: https://insights.sbomify.com/CVE-2023-2878/index.md)","id":"CVE-2023-2878","markdown":"https://insights.sbomify.com/CVE-2023-2878/index.md","name":"CVE-2023-2878","record":{"aliases":["GHSA-g82w-58jf-gcxx","GO-2023-1793"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes CSI driver","requires_auth":"low_privilege","summary":"Attackers can read service account tokens from logs, potentially compromising cluster security.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"secrets-store-csi-driver","vendor":"kubernetes"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Kubernetes secrets-store-csi-driver in versions before 1.3.3 discloses service account tokens in logs.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Kubernetes secrets-store-csi-driver discloses service account tokens in logs","id":"CVE-2023-2878","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Denial of service in Wireshark","id":"CVE-2023-2879"},"packages":[{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":null,"source":"GHSA-g82w-58jf-gcxx"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":"pkg:golang/sigs.k8s.io/secrets-store-csi-driver","source":"GHSA-g82w-58jf-gcxx"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"sigs.k8s.io/secrets-store-csi-driver","purl":"pkg:golang/sigs.k8s.io/secrets-store-csi-driver","source":"GO-2023-1793"}],"prev":{"headline":"Formidable Forms \u003c 6.3.1 - Subscriber+ Remote Code Execution","id":"CVE-2023-2877"},"products":["secrets-store-csi-driver"],"published":"2023-06-07","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Kubernetes"]},"summary":"Attackers can read service account tokens from logs, potentially compromising cluster security.","url":"https://insights.sbomify.com/CVE-2023-2878/"}