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.
EPSS 0.07% · 22.0th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| LF-Edge, Zededa | EVE OS | 3.0.0, 3.0.0 |
| github.com | lf-edge/eve | 0, 0 |
| linuxfoundation | edge_virtualization_engine | 3.0.0, 3.0.0 |
| lfedge | eve | 3.0.0, 3.0.0 |
Timeline
- Sep 21, 2023 CVE Published
- Sep 21, 2023 PoC Published
- Sep 22, 2023 EPSS Score
- Oct 24, 2023 EPSS Score
- Nov 25, 2023 EPSS Score
- Dec 27, 2023 EPSS Score
- Jan 28, 2024 EPSS Score
- Feb 29, 2024 EPSS Score
- Apr 1, 2024 EPSS Score
- May 3, 2024 EPSS Score
- Jun 4, 2024 EPSS Score
- Jul 6, 2024 EPSS Score
References
- https://asrg.io/security-advisories/cve-2023-43632/ url
- https://github.com/lf-edge/eve/security/advisories/GHSA-6jp5-grgh-jw42 url
- https://nvd.nist.gov/vuln/detail/CVE-2023-43632 advisory
- https://asrg.io/security-advisories/cve-2023-43632 url
- https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket url
- https://github.com/lf-edge/eve package