CVE-2020-8918

Medium

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

SeverityMedium
CVSS6.3
Exploit probability—
ProductGoogle Go-tpm
PublishedAug 11, 2020
First seenAug 11, 2020
Weakness typeCWE-665CWE-665

How to fix

Update
  • google go-tpm0.3.0 or later
  • github.com/google/go-tpm0.3.0 or later

Affected products

ProductAffected versionsFixed in
google go-tpmv < 0.3.00.3.0
github.com/google/go-tpmGov < 0.3.00.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.