CVE-2022-0317

Improper Input Validation in AKPublic.Verify in go-attestation

State
Published
Severity
4.0 Medium
Published
Feb 4, 2022
Updated
Apr 21, 2025
Reserved
Jan 20, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.0 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGoogle

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
go-attestationGoogle LLC
  • before 0.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.