{"id":"GHSA-g8fc-vrcg-8vjg","aliases":["GHSA-g8fc-vrcg-8vjg","GO-2024-2727"],"related":[],"kind":"vulnerability","state":"published","title":"Constallation has pods exposed to peers in VPC","summary":"### 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Constellation has pods exposed to peers in VPC in github.com/edgelesssys/constellation","format":"markdown","source":"go"}],"published":"2024-04-15T18:13:15.000Z","modified":"2026-03-03T04:51:48.316Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-940"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.16.3"}],"ecosystem":"Go","package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/edgelesssys/constellation","purl":"pkg:golang/github.com/edgelesssys/constellation","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.16.3"}],"ecosystem":"Go","package":"github.com/edgelesssys/constellation/v2","purl":"pkg:golang/github.com/edgelesssys/constellation/v2","source":"go"}],"references":[{"url":"https://github.com/edgelesssys/constellation/security/advisories/GHSA-g8fc-vrcg-8vjg","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/cilium/cilium/issues/25626","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/edgelesssys/constellation","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2727","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g8fc-vrcg-8vjg","url":"https://github.com/advisories/GHSA-g8fc-vrcg-8vjg","licence":"CC-BY-4.0","modified":"2024-06-04T19:35:51.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2727","url":"https://pkg.go.dev/vuln/GO-2024-2727","licence":"CC-BY-4.0","modified":"2026-03-03T04:51:48.316Z"}],"updatedAt":"2026-11-25T22:56:23.705Z"}