CVE-2023-43632
Freely Allocate Buffer on The Stack With Data From Socket
Reported by asrg · Published September 21, 2023
github.com/lf-edge/eve is fixed in 0.0.0-20230519072751-977f42b07fa9 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/lf-edge/eve | Go Modules | 0.0.0-20230519072751-977f42b07fa9 |
| EVE OS | LF-Edge, Zededa | 9.5.0 |
| edge_virtualization_engine | linuxfoundation | 9.5.0 |
| eve | lfedge | 9.5.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| LF-Edge, Zededa | EVE OS | 3.0.0 |
| github.com | lf-edge/eve | 0 |
| lfedge | eve | 3.0.0 |
| LF-Edge, Zededa | EVE OS | 3.0.0 |
Timeline
- Sep 21, 2023 CVE Published
- Sep 21, 2023 PoC Published
- Sep 22, 2023 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-43632
vulnetix vdb fixes CVE-2023-43632
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-43632/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-43632 advisory
- https://github.com/advisories/GHSA-6jp5-grgh-jw42 advisory
- https://github.com/lf-edge/eve/security/advisories/GHSA-6jp5-grgh-jw42 url
- 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 url