CVE-2022-0317Google Go-attestation
Low 3.3
Follow: this CVE · Google · Google Go-attestation We alert you by email or Slack (account required).
- Priority
- 20
- CVSS 3.1
- 3.3
- EPSS
- 0.1% probability of exploitation in 30 days · percentile 1
- Auth required
- Yes
- Published
- Feb 4, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go-attestation.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/google/go-attestation |
< 0.4.0 |
0.4.0 |
go get github.com/google/go-attestation@v0.4.0 |
| Go | github.com/google/go-attestation |
< 0.4.0 |
0.4.0 |
go get github.com/google/go-attestation@v0.4.0 |
Per OSV / GitHub Advisories (GHSA-99cg-575x-774p, GO-2022-0294). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-attestation | < 0.3.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory