GHSA-g8fc-vrcg-8vjg: Github.com/edgelesssys/constellation/v2 Constallation Has Pods Exposed To Vulnerability
HIGHGHSA-g8fc-vrcg-8vjg is a HIGH constallation has pods exposed to vulnerability (CWE-940: Improper Verification of Source of a Communication Channel) affecting Github.com/edgelesssys/constellation/v2 libraries in the Go ecosystem. The issue involves constallation has pods exposed to peers in vpc. Remediation is available by upgrading affected packages to version 2.16.3.
GHSA-g8fc-vrcg-8vjg at a Glance
How to Fix GHSA-g8fc-vrcg-8vjg
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.16.3
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-g8fc-vrcg-8vjg, 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.16.3), 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 CWE-940: Improper Verification of Source of a Communication Channel, where the product establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin. 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-g8fc-vrcg-8vjg Affected Github.com/edgelesssys/constellation/v2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/edgelesssys/constellation/v2
|
Go |
< 2.16.3
|
2.16.3
|
References
Frequently Asked Questions
What is GHSA-g8fc-vrcg-8vjg?
Which Github.com/edgelesssys/constellation/v2 versions are affected?
What version fixes GHSA-g8fc-vrcg-8vjg?
Is github.com/edgelesssys/constellation/v2 affected?
What CWE is associated with GHSA-g8fc-vrcg-8vjg?
How can I check Go dependencies for GHSA-g8fc-vrcg-8vjg?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g8fc-vrcg-8vjg",
"modified" : "2024-06-04T19:35:51Z",
"published" : "2024-04-15T18:13:15Z",
"aliases" : [ ],
"summary" : "Constallation has pods exposed to peers in VPC",
"details" : "### 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. \n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/edgelesssys/constellation/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.16.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/edgelesssys/constellation/security/advisories/GHSA-g8fc-vrcg-8vjg"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/issues/25626"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/edgelesssys/constellation"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2727"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-940" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-15T18:13:15Z",
"nvd_published_at" : null
}
}