GHSA-6w5f-5wgr-qjg5: Github.com/edgelesssys/constellation/v2 Constellation Allows Emergency Shell Access Vulnerability

HIGH
Published
Advisory Summary

GHSA-6w5f-5wgr-qjg5 is a HIGH constellation allows emergency shell access vulnerability (General Security Weakness) affecting Github.com/edgelesssys/constellation/v2 libraries in the Go ecosystem. The issue involves constellation allows emergency shell access during initramfs boot phase. Remediation is available by upgrading affected packages to version 2.6.0.

GHSA-6w5f-5wgr-qjg5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-6w5f-5wgr-qjg5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Github.com/edgelesssys/constellation/v2
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-6w5f-5wgr-qjg5

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.6.0
Upgrade github.com/edgelesssys/constellation/v2 to 2.6.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/constellation/v2

How to Check if You Are Affected

To determine whether your application is affected by GHSA-6w5f-5wgr-qjg5, 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.6.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 General Security Weakness. 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 An active attacker could let the boot fail on purpose in the initramfs, dropping the serial console into an emergency shell. This gives attackers with access to the serial console full control over the VM. ### Patches The issue has been patched in [v2.6.0](https://github.com/edgelesssys/constellation/releases/tag/v2.6.0). ### Workarounds none

GHSA-6w5f-5wgr-qjg5 Affected Github.com/edgelesssys/constellation/v2 Versions

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

References

Frequently Asked Questions

What is GHSA-6w5f-5wgr-qjg5?
GHSA-6w5f-5wgr-qjg5 is a security vulnerability in Github.com/edgelesssys/constellation/v2 involving Constellation allows Emergency shell access during initramfs boot phase under General Security Weakness.
Which Github.com/edgelesssys/constellation/v2 versions are affected?
Affected versions include releases prior to 2.6.0 across affected packages: github.com/edgelesssys/constellation/v2.
What version fixes GHSA-6w5f-5wgr-qjg5?
Upgrading to 2.6.0 (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.6.0. Upgrade your dependency to 2.6.0 or later.
What CWE is associated with GHSA-6w5f-5wgr-qjg5?
GHSA-6w5f-5wgr-qjg5 is classified under General Security Weakness.
How can I check Go dependencies for GHSA-6w5f-5wgr-qjg5?
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-6w5f-5wgr-qjg5",
  "modified" : "2023-03-09T20:21:36Z",
  "published" : "2023-03-09T20:21:36Z",
  "aliases" : [ ],
  "summary" : "Constellation allows Emergency shell access during initramfs boot phase",
  "details" : "### Impact\n\nAn active attacker could let the boot fail on purpose in the initramfs, dropping the serial console into an emergency shell. This gives attackers with access to the serial console full control over the VM.\n\n### Patches\n\nThe issue has been patched in [v2.6.0](https://github.com/edgelesssys/constellation/releases/tag/v2.6.0).\n\n### Workarounds\n\nnone\n\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/edgelesssys/constellation/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/constellation/security/advisories/GHSA-6w5f-5wgr-qjg5"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/edgelesssys/constellation"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/edgelesssys/constellation/releases/tag/v2.6.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-09T20:21:36Z",
    "nvd_published_at" : null
  }
}