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: 4.8 [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]
CVE-ID: CVE-2022-0317
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

go-attestation

How to mitigate CVE-2022-0317

Install security update from vendor's website.

go-attestation - update to 0.4.0

External References

Related Security Bulletins