{"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-g8fc-vrcg-8vjg in the wild and no public exploit code.","fix":"Upgrade github.com/edgelesssys/constellation/v2 to 2.16.3 or later.","what":"GHSA-g8fc-vrcg-8vjg is a missing authorization vulnerability in github.com/edgelesssys/constellation, published on 15 Apr 2024. 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-g8fc-vrcg-8vjg and fix it if it is affected.\n\nWhat it is: GHSA-g8fc-vrcg-8vjg is a missing authorization vulnerability in github.com/edgelesssys/constellation, published on 15 Apr 2024. 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-g8fc-vrcg-8vjg 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.16.3\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.16.3\n- github.com/edgelesssys/constellation/v2 (Go): affected all versions; fixed in 2.16.3\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-g8fc-vrcg-8vjg/ (Markdown: https://insights.sbomify.com/GHSA-g8fc-vrcg-8vjg/index.md)","id":"GHSA-g8fc-vrcg-8vjg","markdown":"https://insights.sbomify.com/GHSA-g8fc-vrcg-8vjg/index.md","name":"GHSA-g8fc-vrcg-8vjg","record":{"aliases":["GO-2024-2727"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Constellation Kubernetes","requires_auth":"none","summary":"Attackers within the cloud VPC can access unexposed pods directly, potentially leaking sensitive data if network policies are not configured.","user_interaction":"not_required","vuln_class":"missing_authorization"},"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\nCilium allows outside actors (`world` entity) to directly access pods with their internal pod IP, even if they are not exposed explicitly (e.g. via `LoadBalancer`). A pod that does not authenticate clients and that does not exclude `world` traffic via network policy may leak sensitive data to an attacker _inside the cloud VPC_.\n\n### Patches\n\nThe issue has been patched in [v2.16.3](https://github.com/edgelesssys/constellation/releases/tag/v2.16.3).\n\n### Workarounds\n\nThis network policy excludes all `world` traffic. It mitigates the problem, but will also block all desired external traffic. If vulnerable pods are known, a policy can be crafted to only firewall those instead (see also https://docs.cilium.io/en/stable/security/policy/language/#access-to-from-outside-cluster).\n\n```yaml\napiVersion: \"cilium.io/v2\"\nkind: CiliumClusterwideNetworkPolicy\nmetadata:\n  name: \"from-world-to-role-public\"\nspec:\n  endpointSelector:\n    matchLabels: {}\n    #  role: public\n  ingressDeny:\n    - fromEntities:\n      - world\n```\n\n### References\n\nThe tracking bug for a Cilium-side fix is https://github.com/cilium/cilium/issues/25626.","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":"Constallation has pods exposed to peers in VPC","id":"GHSA-g8fc-vrcg-8vjg","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2024"},"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-2024-2727"},{"ecosystem":"Go","fixed":["2.16.3"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":null,"source":"GHSA-g8fc-vrcg-8vjg"},{"ecosystem":"Go","fixed":["2.16.3"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GHSA-g8fc-vrcg-8vjg"},{"ecosystem":"Go","fixed":["2.16.3"],"introduced":["0"],"last_affected":[],"package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"GO-2024-2727"}],"products":null,"published":"2024-04-15","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":"Attackers within the cloud VPC can access unexposed pods directly, potentially leaking sensitive data if network policies are not configured.","url":"https://insights.sbomify.com/GHSA-g8fc-vrcg-8vjg/"}