TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper
Description
An improperly initialized 'migrationAuth' value in Google's go-tpm TPM1.2 library versions prior to 0.3.0 can lead an eavesdropping attacker to discover the auth value for a key created with CreateWrapKey. An attacker listening in on the channel can collect both 'encUsageAuth' and 'encMigrationAuth', and then can calculate 'usageAuth ^ encMigrationAuth' as the 'migrationAuth' can be guessed for all keys created with CreateWrapKey. TPM2.0 is not impacted by this. We recommend updating your library to 0.3.0 or later, or, if you cannot update, to call CreateWrapKey with a random 20-byte value for 'migrationAuth'.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/google/go-tpmGo | < 0.3.0 | 0.3.0 |
Affected products
2- Google LLC/google/go-tpm libraryv5Range: stable
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-5x29-3hr9-6wpwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-8918ghsaADVISORY
- github.com/google/go-tpm/commit/d7806cce857a1a020190c03348e5361725d8f141ghsaWEB
- github.com/google/go-tpm/pull/195ghsaWEB
- github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpwghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2021-0095ghsaWEB
News mentions
0No linked articles in our index yet.