CVE-2022-0317 json
Improper Input Validation in AKPublic.Verify in go-attestation
published 2022-02-01 4 y ago modified 2026-06-17 4 mo ago also GHSA-99cg-575x-774p , GO-2022-0294 , EUVD-2022-0934
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 0%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/google/go-attestation 0.4.0
- Google LLC go-attestation 0.4.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.10% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/google/go-attestation | <0.4.0 |
0.4.0 |
Affected products
- Google LLC go-attestation
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/google/go-attestation/commit/82f2c9c2c76e1d3691d17ee78116d1d93a123788
web, patch
-
github.com
/google/go-attestation/security/advisories/GHSA-99cg-575x-774p
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-0317
advisory
-
github.com
/google/go-attestation
web
-
pkg.go.dev
/vuln/GO-2022-0294
web
Sources
- CVE List CVE-2022-0317
- GitHub Advisory GHSA-99cg-575x-774p
- NVD CVE-2022-0317
- OSV GO-2022-0294
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.