Google go-attestation
Improper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does not advance the buffer past vendor bytes before reading entries. For hashSHA256SigGUID lists, this allows attacker-controlled vendor header bytes to be appended to the trusted SHA256 hash list. A crafted TPM event log could inject arbitrary SHA256 hashes into the verifier's trusted measurement database, enabling a remote attestation verifier to accept a compromised boot state. This issue affects go-attestation: through 0.6.0.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 0.6.0
- < 0.6.1
Fixed in 0.6.1
from GitHub Security Advisory GHSA-9r4w-jg96-92mv
Mitigation
Upgrade github.com/google/go-attestation to 0.6.1 or later.
References
- Vendor advisory github.com/google/go-attestation/security/advi…
- Patch github.com/google/go-attestation/commit/b6e905…
- Release notes github.com/google/go-attestation/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.