{"id":"CVE-2023-43632","published":"2023-09-21T13:13:30Z","modified":"2024-09-24T17:09:26Z","title":"Freely Allocate Buffer on The Stack With Data From Socket","vendor":"LF-Edge, Zededa","product":"EVE OS","tier":"tail","description":{"text":"\nAs 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.\n\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00658,"percentile":0.52421,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://asrg.io/security-advisories/cve-2023-43632/","tags":[]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.48},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"lf-edge-zededa","affectedVersions":[{"vendor":" LF-Edge, Zededa","product":"EVE OS","versions":[">= 3.0.0, < 9.5.0"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-24T17:07:47.768091Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/lf-edge/eve","vulnerableRanges":["<0.0.0-20230519072751-977f42b07fa9"],"patched":["0.0.0-20230519072751-977f42b07fa9"],"from":["GHSA-6jp5-grgh-jw42","GO-2026-4422"],"provenance":"source"}],"summary":{"text":"The EVE OS vtpm_server process, which listens on port 8877 and exposes limited TPM functionality to clients, is flawed in its handleRequest function, where a 4-byte size field read from the incoming protobuf-encoded header is used to allocate a payload on the stack without bounds checking. An attacker with adjacent network access and low-privilege credentials can send a crafted oversized request to overflow the stack, potentially crashing the system or gaining control of the highly privileged vtpm_server process, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:04Z"},"euvd":{"id":"EUVD-2023-48032","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-43633","published":"2023-09-21","fixed":"0.0.0-20220708121648-5fef4d92e758","kev":false},{"cve":"CVE-2023-43636","published":"2023-09-20","fixed":"0.0.0-20220708121648-5fef4d92e758","kev":false},{"cve":"CVE-2023-43630","published":"2023-09-20","fixed":"0.0.0-20230126065759-d9383a7ee4e1","kev":false,"link":{"from":"CVE-2023-43630","to":"CVE-2023-43632","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/lf-edge/eve","fromFixed":"0.0.0-20230126065759-d9383a7ee4e1","toFixed":"0.0.0-20230519072751-977f42b07fa9","daysApart":1}]}},{"cve":"CVE-2023-43632","published":"2023-09-21","fixed":"0.0.0-20230519072751-977f42b07fa9","kev":false},{"cve":"CVE-2023-43634","published":"2023-09-21","fixed":"0.0.0-20230519072751-977f42b07fa9","kev":false},{"cve":"CVE-2023-43635","published":"2023-09-20","fixed":"0.0.0-20230519072751-977f42b07fa9","kev":false}],"package":"Go:github.com/lf-edge/eve"}}