Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for google/go-tpm library by Google LLC

    CVE-2020-8918 (GCVE-0-2020-8918)

    Vulnerability from nvd – Published: 2020-08-11 18:35 – Updated: 2024-08-04 10:12
    VLAI
    Title
    TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper
    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'.
    CWE
    • CWE-665 - Improper Initialization
    Assigner
    References
    Impacted products
    Vendor Product Version
    Google LLC google/go-tpm library Affected: stable , < 0.3.0 (custom)
    Create a notification for this product.
    Credits
    Chris Fenner
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T10:12:11.062Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "google/go-tpm library",
              "vendor": "Google LLC",
              "versions": [
                {
                  "lessThan": "0.3.0",
                  "status": "affected",
                  "version": "stable",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Chris Fenner"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "An improperly initialized \u0027migrationAuth\u0027 value in Google\u0027s 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 \u0027encUsageAuth\u0027 and \u0027encMigrationAuth\u0027, and then can calculate \u0027usageAuth ^ encMigrationAuth\u0027 as the \u0027migrationAuth\u0027 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 \u0027migrationAuth\u0027."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-665",
                  "description": "CWE-665 Improper Initialization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-08-11T18:35:11.000Z",
            "orgId": "14ed7db2-1595-443d-9d34-6215bf890778",
            "shortName": "Google"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@google.com",
              "ID": "CVE-2020-8918",
              "STATE": "PUBLIC",
              "TITLE": "TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "google/go-tpm library",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003c",
                                "version_name": "stable",
                                "version_value": "0.3.0"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Google LLC"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Chris Fenner"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "An improperly initialized \u0027migrationAuth\u0027 value in Google\u0027s 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 \u0027encUsageAuth\u0027 and \u0027encMigrationAuth\u0027, and then can calculate \u0027usageAuth ^ encMigrationAuth\u0027 as the \u0027migrationAuth\u0027 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 \u0027migrationAuth\u0027."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-665 Improper Initialization"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw",
                  "refsource": "CONFIRM",
                  "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
                }
              ]
            },
            "source": {
              "discovery": "INTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "14ed7db2-1595-443d-9d34-6215bf890778",
        "assignerShortName": "Google",
        "cveId": "CVE-2020-8918",
        "datePublished": "2020-08-11T18:35:11.000Z",
        "dateReserved": "2020-02-12T00:00:00.000Z",
        "dateUpdated": "2024-08-04T10:12:11.062Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2020-8918 (GCVE-0-2020-8918)

    Vulnerability from cvelistv5 – Published: 2020-08-11 18:35 – Updated: 2024-08-04 10:12
    VLAI
    Title
    TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper
    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'.
    CWE
    • CWE-665 - Improper Initialization
    Assigner
    References
    Impacted products
    Vendor Product Version
    Google LLC google/go-tpm library Affected: stable , < 0.3.0 (custom)
    Create a notification for this product.
    Credits
    Chris Fenner
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T10:12:11.062Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "google/go-tpm library",
              "vendor": "Google LLC",
              "versions": [
                {
                  "lessThan": "0.3.0",
                  "status": "affected",
                  "version": "stable",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Chris Fenner"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "An improperly initialized \u0027migrationAuth\u0027 value in Google\u0027s 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 \u0027encUsageAuth\u0027 and \u0027encMigrationAuth\u0027, and then can calculate \u0027usageAuth ^ encMigrationAuth\u0027 as the \u0027migrationAuth\u0027 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 \u0027migrationAuth\u0027."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-665",
                  "description": "CWE-665 Improper Initialization",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-08-11T18:35:11.000Z",
            "orgId": "14ed7db2-1595-443d-9d34-6215bf890778",
            "shortName": "Google"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          },
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@google.com",
              "ID": "CVE-2020-8918",
              "STATE": "PUBLIC",
              "TITLE": "TPM 1.2 key authorization values are vulnerable to a TPM transport eavesdropper"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "google/go-tpm library",
                          "version": {
                            "version_data": [
                              {
                                "version_affected": "\u003c",
                                "version_name": "stable",
                                "version_value": "0.3.0"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "Google LLC"
                  }
                ]
              }
            },
            "credit": [
              {
                "lang": "eng",
                "value": "Chris Fenner"
              }
            ],
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "An improperly initialized \u0027migrationAuth\u0027 value in Google\u0027s 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 \u0027encUsageAuth\u0027 and \u0027encMigrationAuth\u0027, and then can calculate \u0027usageAuth ^ encMigrationAuth\u0027 as the \u0027migrationAuth\u0027 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 \u0027migrationAuth\u0027."
                }
              ]
            },
            "generator": {
              "engine": "Vulnogram 0.0.9"
            },
            "impact": {
              "cvss": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
                "version": "3.1"
              }
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "CWE-665 Improper Initialization"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw",
                  "refsource": "CONFIRM",
                  "url": "https://github.com/google/go-tpm/security/advisories/GHSA-5x29-3hr9-6wpw"
                }
              ]
            },
            "source": {
              "discovery": "INTERNAL"
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "14ed7db2-1595-443d-9d34-6215bf890778",
        "assignerShortName": "Google",
        "cveId": "CVE-2020-8918",
        "datePublished": "2020-08-11T18:35:11.000Z",
        "dateReserved": "2020-02-12T00:00:00.000Z",
        "dateUpdated": "2024-08-04T10:12:11.062Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }