{"id":"CVE-2024-29039","state":"PUBLISHED","title":"Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state","description":"tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2_checkquote outputs by altering the TPML_PCR_SELECTION in the PCR input file.  As a result, digest values are incorrectly mapped to PCR slots and banks, providing a misleading picture of the TPM state. This issue has been patched in version 5.7.","publishedAt":"2024-06-28T15:48:25.623Z","updatedAt":"2025-11-04T17:19:47.529Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["tpm2-software tpm2-tools"],"affected":[{"vendor":"tpm2-software","product":"tpm2-tools","versions":[{"version":"< 5.7","status":"affected"}]}],"references":["https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6","https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GI4JFEZBKQQUPJ4RWK6IHEWXAFCEJDPI/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFR7SVEWCOXORHPCLLGXEMHFMIGG2MFE/"],"weaknesses":["CWE-807"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/29xxx/CVE-2024-29039.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-29039","state":"PUBLISHED","datePublished":"2024-06-28T15:48:25.623Z","dateUpdated":"2025-11-04T17:19:47.529Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-14T16:59:47.613Z"},"containers":{"cna":{"title":"Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state","descriptions":[{"lang":"en","value":"tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2_checkquote outputs by altering the TPML_PCR_SELECTION in the PCR input file.  As a result, digest values are incorrectly mapped to PCR slots and banks, providing a misleading picture of the TPM state. This issue has been patched in version 5.7."}],"affected":[{"vendor":"tpm2-software","product":"tpm2-tools","versions":[{"version":"< 5.7","status":"affected"}]}],"references":[{"url":"https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6","name":"https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7","name":"https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-807","lang":"en","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-28T15:48:25.623Z"},"source":{"advisory":"GHSA-8rjm-5f5f-h4q6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"tpm2_software","product":"tpm2_tools","defaultStatus":"unknown","versions":[{"version":"5.7","status":"affected"}],"cpes":["cpe:2.3:a:tpm2_software:tpm2_tools:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-28T19:46:09.080274Z","id":"CVE-2024-29039","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-28T19:50:27.367Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6","name":"https://github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7","name":"https://github.com/tpm2-software/tpm2-tools/releases/tag/5.7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GI4JFEZBKQQUPJ4RWK6IHEWXAFCEJDPI/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFR7SVEWCOXORHPCLLGXEMHFMIGG2MFE/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T17:19:47.529Z"}}]}}}