GHSA-r2h5-3hgw-8j34: Github.com/edgelesssys/constellation/v2 User Data Vulnerability

HIGH
CWE-200
Published
Advisory Summary

GHSA-r2h5-3hgw-8j34 is a HIGH user data vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/edgelesssys/constellation/v2 libraries in the Go ecosystem. The issue involves user data in tpm attestation vulnerable to mitm. Remediation is available by upgrading affected packages to version 2.5.2.

GHSA-r2h5-3hgw-8j34 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-r2h5-3hgw-8j34
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Github.com/edgelesssys/constellation/v2
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-r2h5-3hgw-8j34

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

How to Check if You Are Affected

To determine whether your application is affected by GHSA-r2h5-3hgw-8j34, inspect your project dependencies for Github.com/edgelesssys/constellation/v2:

inspect dependencies for github.com/edgelesssys/constellation/v2

Analyze the terminal output to locate any version of Github.com/edgelesssys/constellation/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.2), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/edgelesssys/constellation/v2, 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 Attestation *user data* (such as the digest of the public key in an aTLS connection) was bound to the issuer's TPM, but not to its PCR state. An attacker could intercept a node initialization, initialize the node themselves, and then impersonate an uninitialized node to the validator. In practice, this meant that a CSP insider with sufficient privileges would have been able to join a node under their control to a Constellation cluster. ### Patches The issue has been patched in [v2.5.2](https://github.com/edgelesssys/constellation/releases/tag/v2.5.2). ### Workarounds none

GHSA-r2h5-3hgw-8j34 Affected Github.com/edgelesssys/constellation/v2 Versions

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

References

Frequently Asked Questions

What is GHSA-r2h5-3hgw-8j34?
GHSA-r2h5-3hgw-8j34 is a security vulnerability in Github.com/edgelesssys/constellation/v2 involving User data in TPM attestation vulnerable to MITM under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Github.com/edgelesssys/constellation/v2 versions are affected?
Affected versions include releases prior to 2.5.2 across affected packages: github.com/edgelesssys/constellation/v2.
What version fixes GHSA-r2h5-3hgw-8j34?
Upgrading to 2.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/edgelesssys/constellation/v2 affected?
Yes, github.com/edgelesssys/constellation/v2 is affected in releases prior to 2.5.2. Upgrade your dependency to 2.5.2 or later.
What CWE is associated with GHSA-r2h5-3hgw-8j34?
GHSA-r2h5-3hgw-8j34 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for GHSA-r2h5-3hgw-8j34?
Run the dependency tree command: 'inspect dependencies for github.com/edgelesssys/constellation/v2'. 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-r2h5-3hgw-8j34",
  "modified" : "2023-02-17T20:51:24Z",
  "published" : "2023-02-17T20:51:24Z",
  "aliases" : [ ],
  "summary" : "User data in TPM attestation vulnerable to MITM",
  "details" : "### Impact\nAttestation *user data* (such as the digest of the public key in an aTLS connection) was bound to the issuer's TPM, but not to its PCR state. An attacker could intercept a node initialization, initialize the node themselves, and then impersonate an uninitialized node to the validator. In practice, this meant that a CSP insider with sufficient privileges would have been able to join a node under their control to a Constellation cluster.\n\n### Patches\nThe issue has been patched in [v2.5.2](https://github.com/edgelesssys/constellation/releases/tag/v2.5.2).\n\n### Workarounds\nnone",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/edgelesssys/constellation/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.5.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.5.1"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/constellation/security/advisories/GHSA-r2h5-3hgw-8j34"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/edgelesssys/constellation"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/constellation/releases/tag/v2.5.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-17T20:51:24Z",
    "nvd_published_at" : null
  }
}