CVE-2020-8918
HIGH 7.1CVSS 3.1TPM 1.2 key authorization values vulnerable to TPM transport eavesdropper in go-tpm
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'.
- Published
- 11 Aug 2020
- Last modified
- 8 Jul 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-665
- Also known as
- GHSA-5x29-3hr9-6wpwGO-2021-0095
- Sources
- NVDJSONOSV GHSA-5x29-3hr9-6wpwJSONOSV GO-2021-0095JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.6 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-tpmcpe:2.3:a:google:go-tpm:*:*:*:*:*:*:*:* |
< 0.3.0 | 0.3.0 | |
| OSV | Go | github.com/google/go-tpm | < 0.3.0 | 0.3.0 |
References
- https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-8918 · ADVISORY
- https://github.com/google/go-tpm/pull/195 · WEB, FIX
- https://github.com/google/go-tpm/commit/d7806cce857a1a020190c03348e5361725d8f141 · WEB, FIX
- https://github.com/google/go-tpm · PACKAGE
- https://pkg.go.dev/vuln/GO-2021-0095 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)