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

- Severity: Medium 4.0 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2022-02-01T00:43:17.000Z
- Modified: 2026-06-17T04:20:23.133Z
- Also known as: GHSA-99cg-575x-774p, GO-2022-0294
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- Google LLC go-attestation: from unspecified before 0.4.0
- github.com/google/go-attestation (Go): before 0.4.0
- google go-attestation: before 0.3.3

## Every score

- Google: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:P/A:N`

## References

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

## Sources

- CVE List: [CVE-2022-0317](https://www.cve.org/CVERecord?id=CVE-2022-0317), CVE Terms of Use, modified 2025-04-21
- GitHub Advisory Database: [GHSA-99cg-575x-774p](https://github.com/advisories/GHSA-99cg-575x-774p), CC-BY-4.0, modified 2026-05-04
- Go Vulnerability Database: [GO-2022-0294](https://pkg.go.dev/vuln/GO-2022-0294), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-0317](https://nvd.nist.gov/vuln/detail/CVE-2022-0317), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0317 · Whole record: https://cve.day/CVE-2022-0317.json · Rebuilt by cve.day 2026-11-25T22:58:09.498Z
