GHSA-w7wm-2425-7p2h: Github.com/edgelesssys/marblerun MarbleRun Unauthenticated Recovery Allows Coordinator Vulnerability

HIGH
CVSS 7.1
CWE-285
Published
Advisory Summary

GHSA-w7wm-2425-7p2h is a HIGH (CVSS 7.1) marblerun unauthenticated recovery allows coordinator vulnerability (CWE-285: Improper Authorization) affecting Github.com/edgelesssys/marblerun libraries in the Go ecosystem. The issue involves marblerun unauthenticated recovery allows coordinator impersonation. Remediation is available by upgrading affected packages to version 1.7.0.

GHSA-w7wm-2425-7p2h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-w7wm-2425-7p2h
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-285: Improper Authorization
Affected Product Github.com/edgelesssys/marblerun
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.1

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

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

How to Fix GHSA-w7wm-2425-7p2h

To remediate this vulnerability, upgrade all affected Github.com/edgelesssys/marblerun 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/edgelesssys/marblerun fixed: 1.7.0
Upgrade github.com/edgelesssys/marblerun to 1.7.0
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/edgelesssys/marblerun

How to Check if You Are Affected

To determine whether your application is affected by GHSA-w7wm-2425-7p2h, inspect your project dependencies for Github.com/edgelesssys/marblerun:

inspect dependencies for github.com/edgelesssys/marblerun

Analyze the terminal output to locate any version of Github.com/edgelesssys/marblerun in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.0), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/edgelesssys/marblerun, 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 During recovery, a Coordinator only verifies that a given recovery key decrypts the sealed state, not if this key was provided by a party with access to one of the recovery keys defined in the manifest. This allows an attacker to manually craft a sealed state using their own recovery keys, and a manifest that does not match the rest of the state. If network traffic is redirected from the legitimate coordinator to the attacker's Coordinator, a remote party is susceptible to impersonation if they verify the Coordinator without comparing the root certificate of the Coordinator against a trusted reference. Under these circumstances, an attacker can trick a remote party into trusting the malicious Coordinator by presenting a manifest that does not match the actual state of the deployment. This issue does **not** affect the following: * secrets and state of the legitimate Coordinator instances * integrity of workloads * certificates chaining back to the legitimate Coordinator root certificate ### Patches The issue has been patched in [`v1.7.0`](https://github.com/edgelesssys/marblerun/releases/tag/v1.7.0). ### Workarounds Connections that purely authenticate based on a known Coordinator's root certificate, e.g. the one retrieved when using the `marblerun manifest set` CLI command, are not affected.

GHSA-w7wm-2425-7p2h Affected Github.com/edgelesssys/marblerun Versions

1 component(s)
Fixed Versions:
1.7.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/edgelesssys/marblerun
Go
< 1.7.0
1.7.0

References

Frequently Asked Questions

What is GHSA-w7wm-2425-7p2h?
GHSA-w7wm-2425-7p2h is a security vulnerability in Github.com/edgelesssys/marblerun involving MarbleRun unauthenticated recovery allows Coordinator impersonation under CWE-285: Improper Authorization.
Which Github.com/edgelesssys/marblerun versions are affected?
Affected versions include releases prior to 1.7.0 across affected packages: github.com/edgelesssys/marblerun.
What version fixes GHSA-w7wm-2425-7p2h?
Upgrading to 1.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/edgelesssys/marblerun affected?
Yes, github.com/edgelesssys/marblerun is affected in releases prior to 1.7.0. Upgrade your dependency to 1.7.0 or later.
What is the CVSS score of GHSA-w7wm-2425-7p2h?
GHSA-w7wm-2425-7p2h has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N.
What CWE is associated with GHSA-w7wm-2425-7p2h?
GHSA-w7wm-2425-7p2h is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Go dependencies for GHSA-w7wm-2425-7p2h?
Run the dependency tree command: 'inspect dependencies for github.com/edgelesssys/marblerun'. 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-w7wm-2425-7p2h",
  "modified" : "2025-02-06T18:04:37Z",
  "published" : "2025-02-04T21:23:48Z",
  "aliases" : [ ],
  "summary" : "MarbleRun unauthenticated recovery allows Coordinator impersonation",
  "details" : "### Impact\n\nDuring recovery, a Coordinator only verifies that a given recovery key decrypts the sealed state, not if this key was provided by a party with access to one of the recovery keys defined in the manifest.\nThis allows an attacker to manually craft a sealed state using their own recovery keys, and a manifest that does not match the rest of the state.\n\nIf network traffic is redirected from the legitimate coordinator to the attacker's Coordinator, a remote party is susceptible to impersonation if they verify the Coordinator without comparing the root certificate of the Coordinator against a trusted reference.\n\nUnder these circumstances, an attacker can trick a remote party into trusting the malicious Coordinator by presenting a manifest that does not match the actual state of the deployment.\n\nThis issue does **not** affect the following:\n\n* secrets and state of the legitimate Coordinator instances\n* integrity of workloads\n* certificates chaining back to the legitimate Coordinator root certificate\n\n### Patches\n\nThe issue has been patched in [`v1.7.0`](https://github.com/edgelesssys/marblerun/releases/tag/v1.7.0).\n\n### Workarounds\n\nConnections that purely authenticate based on a known Coordinator's root certificate, e.g. the one retrieved when using the `marblerun manifest set` CLI command, are not affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/edgelesssys/marblerun"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/security/advisories/GHSA-w7wm-2425-7p2h"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/commit/e4864f9f1d0f12a4a7d28514da43bcc75603a5b5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/edgelesssys/marblerun"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/releases/tag/v1.7.0"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3450"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-02-04T21:23:48Z",
    "nvd_published_at" : null
  }
}