GHSA-vpjr-h6fh-mw4p

Suggest an improvement
Source
https://github.com/advisories/GHSA-vpjr-h6fh-mw4p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-vpjr-h6fh-mw4p/GHSA-vpjr-h6fh-mw4p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vpjr-h6fh-mw4p
Withdrawn
2026-02-04T20:46:55Z
Published
2023-09-21T15:30:15Z
Modified
2026-02-04T21:05:25Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Duplicate Advisory: EVE Freely Allocates Buffer on The Stack With Data From Socket
Details

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.
Database specific
{
    "cwe_ids":  [
        "CWE-770",
        "CWE-789"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-02-04T20:46:55Z",
    "nvd_published_at":  "2023-09-21T14:15:11Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/lf-edge/eve

Package

Name
github.com/lf-edge/eve
View open source insights on deps.dev
Purl
pkg:golang/github.com/lf-edge/eve

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20230519072751-977f42b07fa9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-vpjr-h6fh-mw4p/GHSA-vpjr-h6fh-mw4p.json"