{"answers":{"affected":"12 open source packages ship an affected version, including github.com/kata-containers/agent and github.com/kata-containers/runtime. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-2023 in the wild and no public exploit code.","fix":"Upgrade github.com/kata-containers/agent to a fixed version for your release line: 1.9.1, 1.10.5 or 1.11.1.","what":"CVE-2020-2023 is a low-severity vulnerability in Kata Containers, published on 10 Jun 2020. 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-2020-2023 and fix it if it is affected.\n\nWhat it is: CVE-2020-2023 is a low-severity vulnerability in Kata Containers, published on 10 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-2023 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/kata-containers/agent (Go): affected all versions; fixed in 1.9.1\n- github.com/kata-containers/agent (Go): affected all versions; fixed in 1.9.1\n- github.com/kata-containers/agent (Go): affected from 1.10.0; fixed in 1.10.5\n- github.com/kata-containers/agent (Go): affected from 1.10.0; fixed in 1.10.5\n- github.com/kata-containers/agent (Go): affected from 1.11.0; fixed in 1.11.1\n- github.com/kata-containers/agent (Go): affected from 1.11.0; fixed in 1.11.1\n- github.com/kata-containers/runtime (Go): affected all versions; fixed in 1.9.1\n- github.com/kata-containers/runtime (Go): affected all versions; fixed in 1.9.1\n- github.com/kata-containers/runtime (Go): affected from 1.10.0; fixed in 1.10.5\n- github.com/kata-containers/runtime (Go): affected from 1.10.0; fixed in 1.10.5\n- github.com/kata-containers/runtime (Go): affected from 1.11.0; fixed in 1.11.1\n- github.com/kata-containers/runtime (Go): affected from 1.11.0; fixed in 1.11.1\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-2023/ (Markdown: https://insights.sbomify.com/CVE-2020-2023/index.md)","id":"CVE-2020-2023","markdown":"https://insights.sbomify.com/CVE-2020-2023/index.md","name":"CVE-2020-2023","record":{"aliases":["GHSA-6978-vg2j-cc9q"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kata Containers","requires_auth":"low_privilege","summary":"Malicious containers can access the guest root filesystem to execute code and impersonate the kata-agent, requiring an upgrade to secure the environment.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"palo_alto","cpe":[{"product":"runtime","vendor":"katacontainers"}],"cvss":{"score":3.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"Kata Containers doesn't restrict containers from accessing the guest's root filesystem device. Malicious containers can exploit this to gain code execution on the guest and masquerade as the kata-agent. This issue affects Kata Containers 1.11 versions earlier than 1.11.1; Kata Containers 1.10 versions earlier than 1.10.5; and Kata Containers 1.9 and earlier versions.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2023-05-08","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-05-08T03:12:46Z","kind":"github_poc","ref":"https://github.com/ssst0n3/kata-cve-2020-2023-poc","stars":3,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Kata Containers - Containers have access to the guest root filesystem device","id":"CVE-2020-2023","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2020"},"n_packages":12,"n_references":7,"next":{"headline":"Kata Containers - Guests can trick the kata-runtime into unmounting any mount point on the host","id":"CVE-2020-2024"},"packages":[{"ecosystem":"Go","fixed":["1.9.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.9.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":"pkg:golang/github.com/kata-containers/agent","source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.10.5"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.10.5"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":"pkg:golang/github.com/kata-containers/agent","source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kata-containers/agent","purl":"pkg:golang/github.com/kata-containers/agent","source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.9.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.9.1"],"introduced":["0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":"pkg:golang/github.com/kata-containers/runtime","source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.10.5"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.10.5"],"introduced":["1.10.0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":"pkg:golang/github.com/kata-containers/runtime","source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":null,"source":"GHSA-6978-vg2j-cc9q"},{"ecosystem":"Go","fixed":["1.11.1"],"introduced":["1.11.0"],"last_affected":[],"package":"github.com/kata-containers/runtime","purl":"pkg:golang/github.com/kata-containers/runtime","source":"GHSA-6978-vg2j-cc9q"}],"prev":{"headline":"PAN-OS: Panorama session disclosure during context switch into managed device","id":"CVE-2020-2022"},"products":["Kata Containers"],"published":"2020-06-10","related":[{"cvss_score":8.8,"headline":"Kata Containers - Cloud Hypervisor guests persist filesystem changes to the underlying host image file","id":"CVE-2020-2025","kev_date_added":null,"published":"2020-05-19"},{"cvss_score":6.5,"headline":"Kata Containers - Guests can trick the kata-runtime into unmounting any mount point on the host","id":"CVE-2020-2024","kev_date_added":null,"published":"2020-05-19"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Kata Containers"]},"summary":"Malicious containers can access the guest root filesystem to execute code and impersonate the kata-agent, requiring an upgrade to secure the environment.","url":"https://insights.sbomify.com/CVE-2020-2023/"}