# CVE-2022-0317: Improper Input Validation in AKPublic.Verify in go-attestation

- Priority: **Routine**
- Reason: Not severe (CVSS 4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-02-04 · Modified: 2025-04-21
- Aliases: GHSA-99cg-575x-774p, GO-2022-0294
- Record: https://cvemate.com/vulnerability/CVE-2022-0317 · JSON: https://cvemate.com/vulnerability/CVE-2022-0317/json

## Description

```text
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.
```

## Signals

- CVSS: 4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.099%, percentile 0.848%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/google go-attestation (Go): \< 0.4.0
- google llc go-attestation: ≥ unspecified, \< 0.4.0
- google go-attestation: \< 0.3.3

## References

- <https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0317>
- <https://github.com/google/go-attestation/commit/82f2c9c2c76e1d3691d17ee78116d1d93a123788>
- <https://github.com/google/go-attestation>
- <https://pkg.go.dev/vuln/GO-2022-0294>

---

Data as of 2026-12-05T02:36:02.912Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
