Skip to main content
← All vulnerabilities
CVE-2020-8918GO-2021-0095GHSA-5X29-3HR9-6WPW

TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

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'.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Google LLC google/go-tpm library

    From stable · fixed in 0.3.0

  • github.com/google/go-tpmGo

    fixed in 0.3.0

References 1

GitHub · google/go-tpm