CVE-2023-43632

As noted in the “VTPM.md” file in the eve documentation, “VTPM is a server listening on port 8877 in EVE, exposing limited functionality of the TPM to the clients. VTPM allows clients to execute tpm2-tools binaries from a list of hardcoded options” The communication with this server is done using protobuf, and the data is comprised of 2 parts: 1. Header 2. Data When a connection is made, the server is waiting for 4 bytes of data, which will be the header, and these 4 bytes would be parsed as uint32 size of the actual data to come. Then, in the function “handleRequest” this size is then used in order to allocate a payload on the stack for the incoming data. As this payload is allocated on the stack, this will allow overflowing the stack size allocated for the relevant process with freely controlled data. * An attacker can crash the system. * An attacker can gain control over the system, specifically on the “vtpm_server” process which has very high privileges.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linuxfoundation:edge_virtualization_engine:*:*:*:*:*:*:*:*

History

28 Sep 2023, 06:15

Type Values Removed Values Added
References
  • {'url': 'https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket/', 'name': 'https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket/', 'tags': ['Third Party Advisory'], 'refsource': 'MISC'}
  • (MISC) https://asrg.io/security-advisories/cve-2023-43632/ -

25 Sep 2023, 16:07

Type Values Removed Values Added
First Time Linuxfoundation edge Virtualization Engine
Linuxfoundation
CPE cpe:2.3:o:linuxfoundation:edge_virtualization_engine:*:*:*:*:*:*:*:*
References (MISC) https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket/ - (MISC) https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket/ - Third Party Advisory
CWE CWE-770
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.9

21 Sep 2023, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-21 14:15

Updated : 2023-12-10 15:14


NVD link : CVE-2023-43632

Mitre link : CVE-2023-43632

CVE.ORG link : CVE-2023-43632


JSON object : View

Products Affected

linuxfoundation

  • edge_virtualization_engine
CWE
CWE-770

Allocation of Resources Without Limits or Throttling

CWE-789

Memory Allocation with Excessive Size Value