Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/google/go-attestation
  4. ›
  5. GMS-2022-15

GMS-2022-15: Improper Input Validation in AKPublic.Verify with attacker-controlled TPM Quote

February 1, 2022

An improper input validation vulnerability in go-attestation allows local users to provide a maliciously-formed Quote over no/some PCRs, causing AKPublic.Verify to succeed despite the inconsistency. Subsequent use of the same set of PCR values in Eventlog.Verify lacks the authentication performed by quote verification, meaning a local attacker could couple this vulnerability with a maliciously-crafted TCG log in Eventlog.Verify to spoof events in the TCG log, hence defeating remotely-attested measured-boot.

References

  • github.com/advisories/GHSA-99cg-575x-774p
  • github.com/google/go-attestation/commit/82f2c9c2c76e1d3691d17ee78116d1d93a123788
  • github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p

Code Behaviors & Features

Detect and mitigate GMS-2022-15 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • v0.4.0

Solution

Upgrade to version 0.4.0 or above.

Source file

go/github.com/google/go-attestation/GMS-2022-15.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:04 +0000.