Vulnerabilities in pkg:golang/github.com/lf-edge/eve/pkg/grub

PACKAGE
Advisory Identifier: GHSA-5h7v-g49c-h887
Advisory Summary

CVE-2023-43636 is a MODERATE (CVSS 6.7) eve doesn't protect rootfs vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Github.com/lf edge/eve/pkg/grub libraries in the Go ecosystem. The issue involves eve doesn't protect rootfs. Remediation is available by upgrading affected packages to version 0.0.0-20220708121648-5fef4d92e758.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/lf-edge/eve/pkg/grub

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/lf-edge/eve/pkg/grub. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5h7v-g49c-h887 CVE-2023-43636 MODERATE EVE Doesn't Protect Rootfs
GHSA-x9mp-jm4h-jjf8 - HIGH Duplicate Advisory: EVE Doesn't Protect Rootfs

CVE-2023-43636 at a Glance

CVE Identifier CVE-2023-43636
GHSA Identifier GHSA-5h7v-g49c-h887
Severity MODERATE
CVSS v3.1 Base Score 6.7
CWE Classification CWE-345: Insufficient Verification of Data Authenticity
Affected Product Github.com/lf edge/eve/pkg/grub
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.7

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

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

How to Fix CVE-2023-43636

To remediate this vulnerability, upgrade all affected Github.com/lf edge/eve/pkg/grub 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/pkg/grub fixed: 0.0.0-20220708121648-5fef4d92e758
Upgrade github.com/lf-edge/eve/pkg/grub to 0.0.0-20220708121648-5fef4d92e758
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/pkg/grub

How to Check if You Are Affected

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

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

Analyze the terminal output to locate any version of Github.com/lf edge/eve/pkg/grub 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-20220708121648-5fef4d92e758), 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-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Github.com/lf edge/eve/pkg/grub, 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 Measured boot validates BIOS, grub, kernel cmdline, and initrd but not the entire rootfs. Thus, an attacker can create an EVE-OS rootfs squashfs image with some files modified and take out the disk and replace the existing rootfs image without that being detected by measure boot and remote attestation. ### Patches Fixed in 8.6.0 and 8.12.1-lts ### Workarounds None

CVE-2023-43636 Affected Github.com/lf edge/eve/pkg/grub Versions

1 component(s)
Fixed Versions:
0.0.0-20220708121648-5fef4d92e758
Product / Package Ecosystem Affected Versions Fixed Version
github.com/lf-edge/eve/pkg/grub
Go
< 0.0.0-20220708121648-5fef4d92e758
0.0.0-20220708121648-5fef4d92e758

References

Frequently Asked Questions

What is CVE-2023-43636?
CVE-2023-43636 is a security vulnerability in Github.com/lf edge/eve/pkg/grub involving EVE Doesn't Protect Rootfs under CWE-345: Insufficient Verification of Data Authenticity.
Which Github.com/lf edge/eve/pkg/grub versions are affected?
Affected versions include releases prior to 0.0.0-20220708121648-5fef4d92e758 across affected packages: github.com/lf-edge/eve/pkg/grub.
What version fixes CVE-2023-43636?
Upgrading to 0.0.0-20220708121648-5fef4d92e758 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/lf-edge/eve/pkg/grub affected?
Yes, github.com/lf-edge/eve/pkg/grub is affected in releases prior to 0.0.0-20220708121648-5fef4d92e758. Upgrade your dependency to 0.0.0-20220708121648-5fef4d92e758 or later.
What is the CVSS score of CVE-2023-43636?
CVE-2023-43636 has a CVSS v3.1 base score of 6.7 (MODERATE) with vector string CVSS:3.1/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2023-43636?
CVE-2023-43636 is classified under CWE-345: Insufficient Verification of Data Authenticity (The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.).
How can I check Go dependencies for CVE-2023-43636?
Run the dependency tree command: 'inspect dependencies for github.com/lf-edge/eve/pkg/grub'. 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-5h7v-g49c-h887",
  "modified" : "2026-02-04T23:14:42Z",
  "published" : "2026-02-04T23:14:42Z",
  "aliases" : [ "CVE-2023-43636" ],
  "summary" : "EVE Doesn't Protect Rootfs",
  "details" : "### Impact\n\nMeasured boot validates BIOS, grub, kernel cmdline, and initrd but not the entire rootfs. Thus, an attacker can create an EVE-OS rootfs squashfs image with some files modified and take out the disk and replace the existing rootfs image without that being detected by measure boot and remote attestation.\n\n### Patches\n\nFixed in 8.6.0 and 8.12.1-lts\n\n### Workarounds\n\nNone",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/lf-edge/eve/pkg/grub"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20220708121648-5fef4d92e758"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/lf-edge/eve/security/advisories/GHSA-5h7v-g49c-h887"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-43636"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lf-edge/eve/commit/5fef4d92e75838cc78010edaed5247dfbdae1889"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/lf-edge/eve/commit/aa3501d6c57206ced222c33aea15a9169d629141"
  }, {
    "type" : "WEB",
    "url" : "https://asrg.io/security-advisories/19274"
  }, {
    "type" : "WEB",
    "url" : "https://asrg.io/security-advisories/cve-2023-43636"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/lf-edge/eve"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-345" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-04T23:14:42Z",
    "nvd_published_at" : null
  }
}