Input validation error in go-attestation - CVE-2022-0317

 

Input validation error in go-attestation - CVE-2022-0317

Published: January 31, 2022 / Updated: May 21, 2026


Vulnerability identifier: #VU132042
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-0317
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Google
Affected software:
go-attestation

Detailed vulnerability description

The vulnerability allows a remote attacker to spoof events in the TCG log.

The vulnerability exists due to improper input validation in AKPublic.Verify when processing an attacker-controlled TPM Quote over no or some PCRs. A remote attacker can provide a maliciously formed Quote to spoof events in the TCG log.

Exploitation requires coupling the issue with a maliciously crafted TCG log in Eventlog.Verify, which can defeat remotely attested measured boot.


How to mitigate CVE-2022-0317

Install security update from vendor's website.

Sources