{"schema_version":"1.9.0","id":"CVE-2023-43632","published":"2023-09-21T13:13:30.579Z","modified":"2026-08-12T03:51:37.696314490Z","aliases":["GHSA-6jp5-grgh-jw42","GO-2026-4422"],"related":["SUSE-SU-2026:0403-1","openSUSE-SU-2026:21483-1"],"summary":"Freely Allocate Buffer on The Stack With Data From Socket","details":"\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","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lf-edge/eve","events":[{"introduced":"e7f3f61637ad3e029e1059419460c1c265204d64"},{"fixed":"c9e9dcb434803828b1c9972fbb02f87f76bd3153"}],"database_specific":{"extracted_events":[{"introduced":"3.0.0"},{"fixed":"9.5.0"}],"source":"AFFECTED_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43632.json"}}],"references":[{"type":"ADVISORY","url":"https://asrg.io/security-advisories/cve-2023-43632/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43632.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43632"},{"type":"PACKAGE","url":"https://github.com/lf-edge/eve"}],"database_specific":{"cna_assigner":"ASRG","cwe_ids":["CWE-789"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43632.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}