{"answers":{"affected":"4 open source packages ship an affected version, including github.com/edgelesssys/constellation/v2 and github.com/edgelesssys/constellation.","exploited":"There is no known exploitation of GHSA-6w5f-5wgr-qjg5 in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/constellation/v2 to 2.6.0 or later.","what":"GHSA-6w5f-5wgr-qjg5 is an authentication bypass vulnerability in github.com/edgelesssys/constellation, published on 9 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-6w5f-5wgr-qjg5 and fix it if it is affected.\n\nWhat it is: GHSA-6w5f-5wgr-qjg5 is an authentication bypass vulnerability in github.com/edgelesssys/constellation, published on 9 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-6w5f-5wgr-qjg5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.6.0\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.6.0\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.6.0\n- github.com/edgelesssys/constellation (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-6w5f-5wgr-qjg5/ (Markdown: https://insights.sbomify.com/GHSA-6w5f-5wgr-qjg5/index.md)","id":"GHSA-6w5f-5wgr-qjg5","markdown":"https://insights.sbomify.com/GHSA-6w5f-5wgr-qjg5/index.md","name":"GHSA-6w5f-5wgr-qjg5","record":{"aliases":["GO-2023-1622"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Confidential Computing OS","requires_auth":"none","summary":"An attacker with serial console access can force a boot failure to gain root control via an emergency shell in Constellation.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Constellation allows Emergency shell access during initramfs boot phase","id":"GHSA-6w5f-5wgr-qjg5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation","purl":"pkg:golang/github.com/edgelesssys/constellation","source":"GO-2023-1622"},{"ecosystem":"Go","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":null,"source":"GHSA-6w5f-5wgr-qjg5"},{"ecosystem":"Go","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GHSA-6w5f-5wgr-qjg5"},{"ecosystem":"Go","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GO-2023-1622"}],"products":null,"published":"2023-03-09","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker with serial console access can force a boot failure to gain root control via an emergency shell in Constellation.","url":"https://insights.sbomify.com/GHSA-6w5f-5wgr-qjg5/"}