{"id":"CVE-2022-0317","state":"PUBLISHED","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 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.","publishedAt":"2022-02-04T22:33:03.136Z","updatedAt":"2025-04-21T13:56:50.110Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"Google"},"assigner":"Google","products":["Google LLC go-attestation"],"affected":[{"vendor":"Google LLC","product":"go-attestation","versions":[{"version":"unspecified","status":"affected","lessThan":"0.4.0","versionType":"custom"}]}],"references":["https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:49:26.075Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/0xxx/CVE-2022-0317.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-0317","state":"PUBLISHED","datePublished":"2022-02-04T22:33:03.136Z","dateUpdated":"2025-04-21T13:56:50.110Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2022-01-20T00:00:00.000Z"},"containers":{"cna":{"title":"Improper Input Validation in AKPublic.Verify in go-attestation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Google LLC","product":"go-attestation","versions":[{"version":"unspecified","status":"affected","lessThan":"0.4.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","dateUpdated":"2022-02-04T22:33:03.000Z","orgId":"14ed7db2-1595-443d-9d34-6215bf890778"},"credits":[{"lang":"en","value":"Nikki VonHollen"}],"datePublic":"2022-01-25T00:00:00.000Z","source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@google.com","DATE_PUBLIC":"2022-01-25T13:36:00.000Z","ID":"CVE-2022-0317","STATE":"PUBLIC","TITLE":"Improper Input Validation in AKPublic.Verify in go-attestation"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"go-attestation","version":{"version_data":[{"version_affected":"<","version_value":"0.4.0"}]}}]},"vendor_name":"Google LLC"}]}},"credit":[{"lang":"eng","value":"Nikki VonHollen"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p","refsource":"MISC","url":"https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p"}]},"source":{"discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/google/go-attestation/security/advisories/GHSA-99cg-575x-774p","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:25:40.483Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-21T13:36:02.155316Z","id":"CVE-2022-0317","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-21T13:56:50.110Z"}}]}}}