Live threats

All CVEs / Google

CVE-2022-0317Google Go-attestation

Low 3.3

Priority
20
CVSS 3.1
3.3
EPSS
0.1%
probability of exploitation in 30 days · percentile 1
Auth required
Yes
Published
Feb 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-attestation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/google/go-attestation < 0.4.0 0.4.0 go get github.com/google/go-attestation@v0.4.0
Go github.com/google/go-attestation < 0.4.0 0.4.0 go get github.com/google/go-attestation@v0.4.0

Per OSV / GitHub Advisories (GHSA-99cg-575x-774p, GO-2022-0294). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googlego-attestation< 0.3.3

Official sources

References

Links published by the sources. Open them with care.