{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0317","id":"CVE-2022-0317","title":"Improper Input Validation in AKPublic.Verify in go-attestation","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 ma","descriptionLong":"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.","published":"2022-02-04T22:33:03.136Z","updated":"2026-10-28T02:31:08.976747452Z","reserved":"2022-01-20T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Google"},"metrics":[{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Google"},{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"google.com"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["Google LLC go-attestation"],"affectedProducts":[{"vendor":"Google LLC","product":"go-attestation","defaultStatus":null,"versions":[{"lessThan":"0.4.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-99cg-575x-774p"}],"cwes":["CWE-20"],"aliases":["GHSA-99cg-575x-774p","GO-2022-0294"],"references":[{"url":"https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0317.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0317","tags":["advisory"]},{"url":"https://github.com/google/go-attestation/commit/82f2c9c2c76e1d3691d17ee78116d1d93a123788","tags":["web","fix"]},{"url":"https://github.com/google/go-attestation","tags":["web"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0294","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00096,"epssPercentile":0.00703,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0317","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0317","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0317","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-99cg-575x-774p","ok":true,"note":"GHSA-99cg-575x-774p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0317","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}