{"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-r2h5-3hgw-8j34 in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/constellation/v2 to 2.5.2 or later.","what":"GHSA-r2h5-3hgw-8j34 is a vulnerability in github.com/edgelesssys/constellation, published on 17 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-r2h5-3hgw-8j34 and fix it if it is affected.\n\nWhat it is: GHSA-r2h5-3hgw-8j34 is a vulnerability in github.com/edgelesssys/constellation, published on 17 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-r2h5-3hgw-8j34 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.5.2\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.5.2\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.5.2\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-r2h5-3hgw-8j34/ (Markdown: https://insights.sbomify.com/GHSA-r2h5-3hgw-8j34/index.md)","id":"GHSA-r2h5-3hgw-8j34","markdown":"https://insights.sbomify.com/GHSA-r2h5-3hgw-8j34/index.md","name":"GHSA-r2h5-3hgw-8j34","record":{"aliases":["GO-2023-1583"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Constellation confidential computing","requires_auth":"high_privilege","summary":"A privileged insider can bypass TPM attestation checks to join a malicious node to a Constellation cluster, compromising cluster integrity.","user_interaction":"not_required","vuln_class":"security_feature_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\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","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":"User data in TPM attestation vulnerable to MITM","id":"GHSA-r2h5-3hgw-8j34","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_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-1583"},{"ecosystem":"Go","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":null,"source":"GHSA-r2h5-3hgw-8j34"},{"ecosystem":"Go","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GHSA-r2h5-3hgw-8j34"},{"ecosystem":"Go","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GO-2023-1583"}],"products":null,"published":"2023-02-17","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":"A privileged insider can bypass TPM attestation checks to join a malicious node to a Constellation cluster, compromising cluster integrity.","url":"https://insights.sbomify.com/GHSA-r2h5-3hgw-8j34/"}