{ "schema_version": "1.4.0", "id": "GHSA-vpjr-h6fh-mw4p", "modified": "2024-04-04T07:47:39Z", "published": "2023-09-21T15:30:15Z", "aliases": [ "CVE-2023-43632" ], "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", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-43632" }, { "type": "WEB", "url": "https://asrg.io/security-advisories/cve-2023-43632" }, { "type": "WEB", "url": "https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket" } ], "database_specific": { "cwe_ids": [ "CWE-770", "CWE-789" ], "severity": "CRITICAL", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2023-09-21T14:15:11Z" } }