Advisory

GO-2022-0294

Also known as: CVE-2022-0317, GHSA-99cg-575x-774p

Summary

Improper input validation in github.com/google/go-attestation

Details

A local attacker can defeat remotely-attested measured boot.

Improper input validation in AKPublic.Verify can cause it to succeed when provided with a maliciously-formed Quote over no/some PCRs. Subsequent use of the same set of PCR values in Eventlog.Verify lacks the authentication performed by quote verification, meaning a local attacker can couple this vulnerability with a maliciously-formed TCG log in Eventlog.Verify to spoof events in the TCG log, defeating remotely-attested measured-boot.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:27 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/google/go-attestation

Go · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences