Improper Input Validation in AKPublic.Verify in go-attestation
Description
An improper input validation vulnerability in go-attestation before 0.3.3 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. We recommend upgrading to Version 0.4.0 or above.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/google/go-attestationGo | < 0.4.0 | 0.4.0 |
Affected products
2- Google LLC/go-attestationv5Range: unspecified
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-99cg-575x-774pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-0317ghsaADVISORY
- github.com/google/go-attestation/commit/82f2c9c2c76e1d3691d17ee78116d1d93a123788ghsaWEB
- github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774pghsax_refsource_MISCWEB
- pkg.go.dev/vuln/GO-2022-0294ghsaWEB
News mentions
0No linked articles in our index yet.