{"answers":{"affected":"3 open source packages ship an affected version, including github.com/lf-edge/eve. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-43632 in the wild and no public exploit code.","fix":"Upgrade github.com/lf-edge/eve to 0.0.0-20230519072751-977f42b07fa9 or later.","what":"CVE-2023-43632 is a critical memory corruption vulnerability in EVE OS, published on 21 Sep 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-43632 and fix it if it is affected.\n\nWhat it is: CVE-2023-43632 is a critical memory corruption vulnerability in EVE OS, published on 21 Sep 2023. 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-2023-43632 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20230519072751-977f42b07fa9\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20230519072751-977f42b07fa9\n- github.com/lf-edge/eve (Go): affected all versions; fixed in 0.0.0-20230519072751-977f42b07fa9\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-43632/ (Markdown: https://insights.sbomify.com/CVE-2023-43632/index.md)","id":"CVE-2023-43632","markdown":"https://insights.sbomify.com/CVE-2023-43632/index.md","name":"CVE-2023-43632","record":{"aliases":["GHSA-6jp5-grgh-jw42","GO-2026-4422"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"EVE OS VTPM server","requires_auth":"low_privilege","summary":"An attacker can crash the system or execute arbitrary code with high privileges by sending a large size header to the VTPM server, causing a stack buffer overflow.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ASRG","cpe":[{"product":"edge_virtualization_engine","vendor":"linuxfoundation"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"As noted in the “VTPM.md” file in the eve documentation, “VTPM is a server listening on port\n8877 in EVE, exposing limited functionality of the TPM to the clients. \nVTPM allows clients to\nexecute tpm2-tools binaries from a list of hardcoded options”\nThe communication with this server is done using protobuf, and the data is comprised of 2\nparts:\n\n1. Header\n\n2. Data\n\nWhen a connection is made, the server is waiting for 4 bytes of data, which will be the header,\nand these 4 bytes would be parsed as uint32 size of the actual data to come.\n\nThen, in the function “handleRequest” this size is then used in order to allocate a payload on\nthe stack for the incoming data.\n\nAs this payload is allocated on the stack, this will allow overflowing the stack size allocated for\nthe relevant process with freely controlled data.\n\n* An attacker can crash the system. \n* An attacker can gain control over the system, specifically on the “vtpm_server” process\nwhich has very high privileges.","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":"Freely Allocate Buffer on The Stack With Data From Socket","id":"CVE-2023-43632","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":3,"n_references":1,"next":{"headline":"Debug Functions Unlockable Without Triggering Measured Boot","id":"CVE-2023-43633"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20230519072751-977f42b07fa9"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":null,"source":"GHSA-6jp5-grgh-jw42"},{"ecosystem":"Go","fixed":["0.0.0-20230519072751-977f42b07fa9"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GHSA-6jp5-grgh-jw42"},{"ecosystem":"Go","fixed":["0.0.0-20230519072751-977f42b07fa9"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/eve","purl":"pkg:golang/github.com/lf-edge/eve","source":"GO-2026-4422"}],"prev":{"headline":"SSH as Root Unlockable Without Triggering Measured Boot","id":"CVE-2023-43631"},"products":["EVE OS"],"published":"2023-09-21","related":[{"cvss_score":8.8,"headline":"SSH as Root Unlockable Without Triggering Measured Boot","id":"CVE-2023-43631","kev_date_added":null,"published":"2023-09-21"},{"cvss_score":8.8,"headline":"Config Partition Not Measured From 2 Fronts","id":"CVE-2023-43630","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":8.8,"headline":"Vault Key Sealed With SHA1 PCRs","id":"CVE-2023-43635","kev_date_added":null,"published":"2023-09-20"},{"cvss_score":8.8,"headline":"Rootfs Not Protected","id":"CVE-2023-43636","kev_date_added":null,"published":"2023-09-20"}],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-24","vendors":[" LF-Edge, Zededa"]},"summary":"An attacker can crash the system or execute arbitrary code with high privileges by sending a large size header to the VTPM server, causing a stack buffer overflow.","url":"https://insights.sbomify.com/CVE-2023-43632/"}