Live threats

All CVEs / Google

CVE-2020-8918Google Go-tpm

High 7.1

Priority
43
CVSS 3.1
7.1
EPSS
0.2%
probability of exploitation in 30 days · percentile 8
Auth required
Yes
Published
Aug 11, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-665
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-tpm.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/google/go-tpm < 0.3.0 0.3.0 go get github.com/google/go-tpm@v0.3.0
Go github.com/google/go-tpm < 0.3.0 0.3.0 go get github.com/google/go-tpm@v0.3.0

Per OSV / GitHub Advisories (GHSA-5x29-3hr9-6wpw, GO-2021-0095). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googlego-tpm< 0.3.0

Official sources

References

Links published by the sources. Open them with care.