GHSA-6w5f-5wgr-qjg5: Github.com/edgelesssys/constellation/v2 Constellation Allows Emergency Shell Access Vulnerability
HIGHGHSA-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
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.
Upgrade github.com/edgelesssys/constellation/v2 to 2.6.0
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
GHSA-6w5f-5wgr-qjg5 Affected Github.com/edgelesssys/constellation/v2 Versions
1 component(s)| 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?
Which Github.com/edgelesssys/constellation/v2 versions are affected?
What version fixes GHSA-6w5f-5wgr-qjg5?
Is github.com/edgelesssys/constellation/v2 affected?
What CWE is associated with GHSA-6w5f-5wgr-qjg5?
How can I check Go dependencies for GHSA-6w5f-5wgr-qjg5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}