GHSA-x5r5-2qrx-rqj8: Github.com/edgelesssys/marblerun Transparent TLS May Not Be Vulnerability

CRITICAL
CVSS 9.1
Published
Advisory Summary

GHSA-x5r5-2qrx-rqj8 is a CRITICAL (CVSS 9.1) transparent tls may not be vulnerability (General Security Weakness) affecting Github.com/edgelesssys/marblerun libraries in the Go ecosystem. The issue involves transparent tls may not be applied to marbles with certain manifest configurations. Remediation is available by upgrading affected packages to version 1.4.1.

GHSA-x5r5-2qrx-rqj8 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-x5r5-2qrx-rqj8
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification General Security Weakness
Affected Product Github.com/edgelesssys/marblerun
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.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:N/S:U/C:H/I:H/A:N).

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

How to Fix GHSA-x5r5-2qrx-rqj8

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.1
Upgrade github.com/edgelesssys/marblerun to 1.4.1
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-x5r5-2qrx-rqj8, 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.1), 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 General Security Weakness. 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

Transparent TLS (TTLS) is a MarbleRun feature that wraps plain TCP connections between Marbles in TLS. In the manifest, a user defines the connections that should be considered. ### Impact If a Marble is configured for TTLS, but doesn't have an environment variable defined in its parameters, TTLS is not applied. The traffic will not be encrypted. MarbleRun deployments that don't use TTLS (which is only available with EGo Marbles) are not affected. ### Patches The issue has been patched in [`v1.4.1`](https://github.com/edgelesssys/marblerun/releases/tag/v1.4.1). ### Workarounds Make sure that all Marbles that use TTLS have an environment variable defined in their parameters. ### References For a description of TTLS, see <https://docs.edgeless.systems/marblerun/features/transparent-TLS> See the updated section on TTLS configuration in the manifest: <https://docs.edgeless.systems/marblerun/workflows/define-manifest#tls>

GHSA-x5r5-2qrx-rqj8 Affected Github.com/edgelesssys/marblerun Versions

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

References

Frequently Asked Questions

What is GHSA-x5r5-2qrx-rqj8?
GHSA-x5r5-2qrx-rqj8 is a security vulnerability in Github.com/edgelesssys/marblerun involving Transparent TLS may not be applied to Marbles with certain manifest configurations under General Security Weakness.
Which Github.com/edgelesssys/marblerun versions are affected?
Affected versions include releases prior to 1.4.1 across affected packages: github.com/edgelesssys/marblerun.
What version fixes GHSA-x5r5-2qrx-rqj8?
Upgrading to 1.4.1 (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.1. Upgrade your dependency to 1.4.1 or later.
What is the CVSS score of GHSA-x5r5-2qrx-rqj8?
GHSA-x5r5-2qrx-rqj8 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with GHSA-x5r5-2qrx-rqj8?
GHSA-x5r5-2qrx-rqj8 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-x5r5-2qrx-rqj8?
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-x5r5-2qrx-rqj8",
  "modified" : "2024-02-27T19:02:15Z",
  "published" : "2024-02-27T19:02:15Z",
  "aliases" : [ ],
  "summary" : "Transparent TLS may not be applied to Marbles with certain manifest configurations",
  "details" : "Transparent TLS (TTLS) is a MarbleRun feature that wraps plain TCP connections between Marbles in TLS.\nIn the manifest, a user defines the connections that should be considered.\n\n### Impact\nIf a Marble is configured for TTLS, but doesn't have an environment variable defined in its parameters, TTLS is not applied.\nThe traffic will not be encrypted.\n\nMarbleRun deployments that don't use TTLS (which is only available with EGo Marbles) are not affected.\n\n### Patches\nThe issue has been patched in [`v1.4.1`](https://github.com/edgelesssys/marblerun/releases/tag/v1.4.1).\n\n### Workarounds\nMake sure that all Marbles that use TTLS have an environment variable defined in their parameters.\n\n### References\nFor a description of TTLS, see <https://docs.edgeless.systems/marblerun/features/transparent-TLS>\nSee the updated section on TTLS configuration in the manifest: <https://docs.edgeless.systems/marblerun/workflows/define-manifest#tls> \n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/edgelesssys/marblerun"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/security/advisories/GHSA-x5r5-2qrx-rqj8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/commit/0330ced092253613a07abe7b330ff6ac6fc6e9c6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/commit/e5bcfe32883d22f3d87ffc9400f9fdb5ecbe3200"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/edgelesssys/marblerun"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/marblerun/releases/tag/v1.4.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-27T19:02:15Z",
    "nvd_published_at" : null
  }
}