{"cve":"CVE-2022-0317","nvd":{"published":"2022-02-04T23:15:12.510","modified":"2026-06-17T04:20:23.133","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3},"cwes":["CWE-20"],"references":["https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p","https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p"],"products":["google:go-attestation"],"source":"nvd","synced_at":"2026-10-19T21:27:20.926095847+00:00"},"epss":{"cve":"CVE-2022-0317","score":0.00096,"percentile":0.00679,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-99cg-575x-774p","url":"https://osv.dev/vulnerability/GHSA-99cg-575x-774p","summary":"Go-Attestation Improper Input Validation with attacker-controlled TPM Quote","modified":"2026-05-04T08:46:07.220262724Z","packages":[{"ecosystem":"Go","name":"github.com/google/go-attestation","purl":"pkg:golang/github.com/google/go-attestation","ranges":["<0.4.0"],"fixed":["0.4.0"]}]},{"id":"GO-2022-0294","url":"https://osv.dev/vulnerability/GO-2022-0294","summary":"Improper input validation in github.com/google/go-attestation","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/google/go-attestation","purl":"pkg:golang/github.com/google/go-attestation","ranges":["<0.4.0"],"fixed":["0.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}