Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAPI: Fix check of magic number in verify quote.
After deserializing the quote info it was not checked whether the magic number in the attest is equal TPM2_GENERATED_VALUE. So an malicious attacker could generate arbitrary quote data which was not detected by Fapi_VerifyQuote. Now the number magic number is checket in verify quote and also in the deserialization of TPM2_GENERATED. The check is also added to the Unmarshal function for TPMS_ATTEST. Fixes: CVE-2024-29040 Signed-off-by: Juergen Repp <[email protected]> Signed-off-by: Andreas Fuchs <[email protected]>
- Loading branch information