Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lf-edge/eve
  4. ›
  5. GHSA-vpjr-h6fh-mw4p

GHSA-vpjr-h6fh-mw4p: Duplicate Advisory: EVE Freely Allocates Buffer on The Stack With Data From Socket

September 21, 2023 (updated February 4, 2026)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-phcg-h58r-gmcq. This link is maintained to preserve external references.

Original Description

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.

References

  • asrg.io/security-advisories/cve-2023-43632
  • asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket
  • github.com/advisories/GHSA-vpjr-h6fh-mw4p
  • nvd.nist.gov/vuln/detail/CVE-2023-43632

Code Behaviors & Features

Detect and mitigate GHSA-vpjr-h6fh-mw4p with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20230519072751-977f42b07fa9

Fixed versions

  • 0.0.0-20230519072751-977f42b07fa9

Solution

Upgrade to version 0.0.0-20230519072751-977f42b07fa9 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

go/github.com/lf-edge/eve/GHSA-vpjr-h6fh-mw4p.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 05 Feb 2026 00:17:40 +0000.