Security mailing lists by PureSourceCode

CVE-2022-0317

LOW 3.3CVSS 3.1

Go-Attestation Improper Input Validation with attacker-controlled TPM Quote

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.

Published
4 Feb 2022
Last modified
17 Jun 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-99cg-575x-774pGO-2022-0294
Sources
NVDJSONOSV GHSA-99cg-575x-774pJSONOSV GO-2022-0294JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve-coordination@google.com (Secondary) CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google go-attestation
cpe:2.3:a:google:go-attestation:*:*:*:*:*:*:*:*
< 0.3.3 0.3.3
OSV Go github.com/google/go-attestation < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.