Tpm2 · Tpm2 · CVE-2024-29039
**Name of the Vulnerable Software and Affected Versions**
tpm2 versions prior to 5.7
**Description**
This issue 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.
**Recommendations**
For versions prior to 5.7, update to version 5.7 to resolve the issue. As a temporary workaround, consider restricting access to the PCR input file to prevent manipulation of the `TPML PCR SELECTION`.