GHSA-j3rq-4xjw-xg63: Github.com/edgelesssys/marblerun Go Package Github.com/edgelesssys/marblerun CLI Commands Vulnerability

HIGH
CWE-300
Published
Advisory Summary

GHSA-j3rq-4xjw-xg63 is a HIGH go package github.com/edgelesssys/marblerun cli commands vulnerability (CWE-300: Channel Accessible by Non-Endpoint) affecting Github.com/edgelesssys/marblerun libraries in the Go ecosystem. The issue involves go package github.com/edgelesssys/marblerun cli commands susceptible to mitm attacks. Remediation is available by upgrading affected packages to version 1.4.0.

GHSA-j3rq-4xjw-xg63 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j3rq-4xjw-xg63
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-300: Channel Accessible by Non-Endpoint
Affected Product Github.com/edgelesssys/marblerun
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-j3rq-4xjw-xg63

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.4.0
Upgrade github.com/edgelesssys/marblerun to 1.4.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-j3rq-4xjw-xg63, 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.4.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-300: Channel Accessible by Non-Endpoint, where the product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint. 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 Any CLI command issued to a Coordinator after the Manifest has been set, is susceptible to be redirected to another MarbleRun Coordinator instance, which runs the same binary, but potentially a different manifest. ### Patches The issue has been patched in [`v1.4.0`](https://github.com/edgelesssys/marblerun/releases/tag/v1.4.0) ### Workarounds Directly using the REST API of the Coordinator and manually verifying and pinning the certificate to a set Manifest avoids the issue.

GHSA-j3rq-4xjw-xg63 Affected Github.com/edgelesssys/marblerun Versions

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

References

Frequently Asked Questions

What is GHSA-j3rq-4xjw-xg63?
GHSA-j3rq-4xjw-xg63 is a security vulnerability in Github.com/edgelesssys/marblerun involving Go package github.com/edgelesssys/marblerun CLI commands susceptible to MITM attacks under CWE-300: Channel Accessible by Non-Endpoint.
Which Github.com/edgelesssys/marblerun versions are affected?
Affected versions include releases prior to 1.4.0 across affected packages: github.com/edgelesssys/marblerun.
What version fixes GHSA-j3rq-4xjw-xg63?
Upgrading to 1.4.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.4.0. Upgrade your dependency to 1.4.0 or later.
What CWE is associated with GHSA-j3rq-4xjw-xg63?
GHSA-j3rq-4xjw-xg63 is classified under CWE-300: Channel Accessible by Non-Endpoint (The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.).
How can I check Go dependencies for GHSA-j3rq-4xjw-xg63?
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-j3rq-4xjw-xg63",
  "modified" : "2023-12-04T23:13:42Z",
  "published" : "2023-12-04T23:13:42Z",
  "aliases" : [ ],
  "summary" : "Go package github.com/edgelesssys/marblerun CLI commands susceptible to MITM attacks",
  "details" : "### Impact\nAny CLI command issued to a Coordinator after the Manifest has been set, is susceptible to be redirected to another MarbleRun Coordinator instance, which runs the same binary, but potentially a different manifest.\n\n### Patches\n The issue has been patched in [`v1.4.0`](https://github.com/edgelesssys/marblerun/releases/tag/v1.4.0)\n\n### Workarounds\n\nDirectly using the REST API of the Coordinator and manually verifying and pinning the certificate to a set Manifest avoids the issue.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/edgelesssys/marblerun"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/security/advisories/GHSA-j3rq-4xjw-xg63"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/edgelesssys/marblerun"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/releases/tag/v1.4.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-300" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-04T23:13:42Z",
    "nvd_published_at" : null
  }
}