GHSA-r2h5-3hgw-8j34: Github.com/edgelesssys/constellation/v2 User Data Vulnerability
HIGHGHSA-r2h5-3hgw-8j34 is a HIGH user data vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/edgelesssys/constellation/v2 libraries in the Go ecosystem. The issue involves user data in tpm attestation vulnerable to mitm. Remediation is available by upgrading affected packages to version 2.5.2.
GHSA-r2h5-3hgw-8j34 at a Glance
How to Fix GHSA-r2h5-3hgw-8j34
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.5.2
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-r2h5-3hgw-8j34, 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.5.2), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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-r2h5-3hgw-8j34 Affected Github.com/edgelesssys/constellation/v2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/edgelesssys/constellation/v2
|
Go |
< 2.5.2
|
2.5.2
|
References
Frequently Asked Questions
What is GHSA-r2h5-3hgw-8j34?
Which Github.com/edgelesssys/constellation/v2 versions are affected?
What version fixes GHSA-r2h5-3hgw-8j34?
Is github.com/edgelesssys/constellation/v2 affected?
What CWE is associated with GHSA-r2h5-3hgw-8j34?
How can I check Go dependencies for GHSA-r2h5-3hgw-8j34?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r2h5-3hgw-8j34",
"modified" : "2023-02-17T20:51:24Z",
"published" : "2023-02-17T20:51:24Z",
"aliases" : [ ],
"summary" : "User data in TPM attestation vulnerable to MITM",
"details" : "### 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",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/edgelesssys/constellation/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.5.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/edgelesssys/constellation/security/advisories/GHSA-r2h5-3hgw-8j34"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/edgelesssys/constellation"
}, {
"type" : "WEB",
"url" : "https://github.com/edgelesssys/constellation/releases/tag/v2.5.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-17T20:51:24Z",
"nvd_published_at" : null
}
}