CVE-2022-0317
Improper input validation in github.com/google/go-attestation
4.0
MEDIUM
CVSS 3.1
EPSS 0.04%
Description
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.
How to fix CVE-2022-0317
To remediate CVE-2022-0317, upgrade the affected package to a fixed version below.
- —upgrade to 0.4.0 or later
- —upgrade to 0.4.0 or later
Is CVE-2022-0317 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.4.0
- from 0, < 0.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |