Bug 1223689 (CVE-2024-29039)

Summary: VUL-0: CVE-2024-29039: tpm2.0-tools: pcr selection value is not compared with the attest
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Matthias Gerstner <matthias.gerstner>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: camila.matos, carlos.lopez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/403690/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-29039:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-02 10:32:12 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

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-29039
https://bugzilla.redhat.com/show_bug.cgi?id=2278075
Comment 4 OBSbugzilla Bot 2024-05-06 12:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1223689) was mentioned in
https://build.opensuse.org/request/show/1172162 Factory / tpm2.0-tools
Comment 6 Maintenance Automation 2024-05-14 12:30:01 UTC
SUSE-SU-2024:1636-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1223687, 1223689
CVE References: CVE-2024-29038, CVE-2024-29039
Maintenance Incident: [SUSE:Maintenance:33669](https://smelt.suse.de/incident/33669/)
Sources used:
Basesystem Module 15-SP5 (src):
 tpm2.0-tools-5.2-150400.6.3.1
openSUSE Leap 15.4 (src):
 tpm2.0-tools-5.2-150400.6.3.1
openSUSE Leap Micro 5.3 (src):
 tpm2.0-tools-5.2-150400.6.3.1
openSUSE Leap Micro 5.4 (src):
 tpm2.0-tools-5.2-150400.6.3.1
openSUSE Leap 15.5 (src):
 tpm2.0-tools-5.2-150400.6.3.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src):
 tpm2.0-tools-5.2-150400.6.3.1
SUSE Linux Enterprise Micro 5.3 (src):
 tpm2.0-tools-5.2-150400.6.3.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src):
 tpm2.0-tools-5.2-150400.6.3.1
SUSE Linux Enterprise Micro 5.4 (src):
 tpm2.0-tools-5.2-150400.6.3.1
SUSE Linux Enterprise Micro 5.5 (src):
 tpm2.0-tools-5.2-150400.6.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.