Bug 2278075 (CVE-2024-29039)

Summary: CVE-2024-29039 tpm2-tools: pcr selection value is not compared with the attest
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tpm2-tools 5.7 Doc Type: ---
Doc Text:
A flaw was found in tpm2-tools. The PCR selection, which is passed with the --pcr parameter, is not compared with the attest, making it possible for an attacker to fake a valid attestation.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2292188    
Bug Blocks: 2278069    

Description Robb Gatica 2024-05-01 00:48:45 UTC
The pcr selection which is passed with the --pcr parameter it not compared with the attest. So it's possible to fake a valid attestation.

References:
https://github.com/tpm2-software/tpm2-tools/commit/98599df9392a346216c5a059b8d35271286100bb

Comment 2 Dhananjay Arunesh 2024-06-13 11:23:01 UTC
Created tpm2-tools tracking bugs for this issue:

Affects: fedora-all [bug 2292188]

Comment 5 errata-xmlrpc 2024-11-12 10:57:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9424 https://access.redhat.com/errata/RHSA-2024:9424