Improper Input Validation Affecting github.com/google/go-attestation/attest package, versions <0.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOOGLEGOATTESTATIONATTEST-2389176
  • published1 Feb 2022
  • disclosed1 Feb 2022
  • creditvonhollen

Introduced: 1 Feb 2022

CVE-2022-0317  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/google/go-attestation/attest to version 0.4.0 or higher.

Overview

github.com/google/go-attestation/attest is a Go-Attestation abstracts remote attestation operations across a variety of platforms and TPMs, enabling remote validation of machine identity and state. This project attempts to provide high-level primitives for both client and server logic.

Affected versions of this package are vulnerable to Improper Input Validation by providing a maliciously-formed Quote over no/some PCRs, causing AKPublic.Verify to succeed despite the inconsistency.

References

CVSS Base Scores

version 3.1