CVE-2023-43632: Github.com/lf edge/eve EVE Freely Allocates Buffer On Vulnerability

MODERATE
Advisory Identifier: GHSA-6jp5-grgh-jw42
CVSS 6.5
CWE-789 CWE-770
Published
Advisory Summary

CVE-2023-43632 is a MODERATE (CVSS 6.5) eve freely allocates buffer on vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting Github.com/lf edge/eve libraries in the Go ecosystem. The issue involves eve freely allocates buffer on the stack with data from socket. Remediation is available by upgrading affected packages to version 0.0.0-20230519072751-977f42b07fa9.

CVE-2023-43632 at a Glance

CVE Identifier CVE-2023-43632
GHSA Identifier GHSA-6jp5-grgh-jw42
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-789: Memory Allocation with Excessive Size Value
Affected Product Github.com/lf edge/eve
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2023-43632

To remediate this vulnerability, upgrade all affected Github.com/lf edge/eve dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/lf-edge/eve fixed: 0.0.0-20230519072751-977f42b07fa9
Upgrade github.com/lf-edge/eve to 0.0.0-20230519072751-977f42b07fa9
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/lf-edge/eve

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-43632, inspect your project dependencies for Github.com/lf edge/eve:

inspect dependencies for github.com/lf-edge/eve

Analyze the terminal output to locate any version of Github.com/lf edge/eve in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20230519072751-977f42b07fa9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In Github.com/lf edge/eve, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact VTPM server listens on port 8877, exposing limited TPM functionality. The server reads 4 bytes as a uint32 size header, then allocates that amount on the stack for incoming data. This allows Denial of Service attacks against the vTPM service. An workload (a container or VM) running on EVE-OS can use this to generate a DOS against the vTPM service. ### Patches Fixed in 9.4.3-lts and 10.1.0 ### Workarounds None

CVE-2023-43632 Affected Github.com/lf edge/eve Versions

1 component(s)
Fixed Versions:
0.0.0-20230519072751-977f42b07fa9
Product / Package Ecosystem Affected Versions Fixed Version
github.com/lf-edge/eve
Go
< 0.0.0-20230519072751-977f42b07fa9
0.0.0-20230519072751-977f42b07fa9

References

Frequently Asked Questions

What is CVE-2023-43632?
CVE-2023-43632 is a security vulnerability in Github.com/lf edge/eve involving EVE Freely Allocates Buffer on The Stack With Data From Socket under CWE-789: Memory Allocation with Excessive Size Value.
Which Github.com/lf edge/eve versions are affected?
Affected versions include releases prior to 0.0.0-20230519072751-977f42b07fa9 across affected packages: github.com/lf-edge/eve.
What version fixes CVE-2023-43632?
Upgrading to 0.0.0-20230519072751-977f42b07fa9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/lf-edge/eve affected?
Yes, github.com/lf-edge/eve is affected in releases prior to 0.0.0-20230519072751-977f42b07fa9. Upgrade your dependency to 0.0.0-20230519072751-977f42b07fa9 or later.
What is the CVSS score of CVE-2023-43632?
CVE-2023-43632 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2023-43632?
CVE-2023-43632 is classified under CWE-789: Memory Allocation with Excessive Size Value (The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.).
How can I check Go dependencies for CVE-2023-43632?
Run the dependency tree command: 'inspect dependencies for github.com/lf-edge/eve'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6jp5-grgh-jw42",
  "modified" : "2026-02-04T20:47:37Z",
  "published" : "2026-02-04T20:47:37Z",
  "aliases" : [ "CVE-2023-43632" ],
  "summary" : "EVE Freely Allocates Buffer on The Stack With Data From Socket",
  "details" : "### Impact\n\nVTPM server listens on port 8877, exposing limited TPM functionality. The server reads 4 bytes as a uint32 size header, then allocates that amount on the stack for incoming data. This allows Denial of Service attacks against the vTPM service.\n\nAn workload (a container or VM) running on EVE-OS can use this to generate a DOS against the vTPM service.\n\n### Patches\n\nFixed in 9.4.3-lts and 10.1.0\n\n### Workarounds\n\nNone",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/lf-edge/eve"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20230519072751-977f42b07fa9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/lf-edge/eve/security/advisories/GHSA-6jp5-grgh-jw42"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43632"
  }, {
    "type" : "WEB",
    "url" : "https://asrg.io/security-advisories/cve-2023-43632"
  }, {
    "type" : "WEB",
    "url" : "https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lf-edge/eve"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770", "CWE-789" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-04T20:47:37Z",
    "nvd_published_at" : null
  }
}