Skip to content
OpenAdvisories
Medium · 6.3 CVE-2020-8918 EUVD-2022-0847GHSA-5x29-3hr9-6wpwGO-2021-0095

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

Published Aug 11, 2020 · Updated Aug 4, 2024 · Assigned by Google

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

Affected products

VendorProductAffectedFixed
Google google/go-tpm library stable – < 0.3.0 0.3.0

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/google/go-tpm < 0.3.0 0.3.0 GHSA-5x29-3hr9-6wpw

References