{"id":"UBUNTU-CVE-2024-29039","details":"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.","modified":"2026-05-20T16:17:12.650965888Z","published":"2024-06-28T16:15:00Z","upstream":["CVE-2024-29039"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-29039"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-29039"},{"type":"REPORT","url":"https://github.com/tpm2-software/tpm2-tools/commit/98599df9392a346216c5a059b8d35271286100bb"}],"affected":[{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.3-2","4.0.1-1","4.1-1","4.1.1-1","4.1.1-1ubuntu0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"4.1.1-1ubuntu0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0-2","5.2-1","5.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"5.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4-1","5.6-1","5.6-1build1","5.6-1build3","5.6-1build4"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"5.6-1build4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"tpm2-tools","binary_version":"5.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"}},{"package":{"name":"tpm2-tools","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tpm2-tools?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1","5.7-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.7-1build1","binary_name":"tpm2-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}