Skip to content

CVE-2024-29040 Fapi Verify Quote: Does not detect if quote was not generated by TPM

MediumCVSS 4.3 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS). The JSON Quote Info returned by Fapi_Quote has to be deserialized by Fapi_VerifyQuote to the TPM Structure TPMS_ATTEST. For the field TPM2_GENERATED magic of this structure any number can be used in the JSON structure. The verifier can receive a state which does not represent the actual, possibly malicious state of the device under test. The malicious device might get access to data it shouldn't, or can use services it shouldn't be able to. This
issue has been patched in version 4.1.0.

Upgrade path

14 packages: 12 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/tpm2-tss(Debian 12) = 3.2.1-3; = 3.2.1-3+loong64; = 4.0.1-1; = 4.0.1-2 +24 more No fix listed No fix yet
alpine/tpm2-tss(Alpine v3.19) < 4.0.2-r0 4.0.2-r0 Fixed
alpine/tpm2-tss(Alpine v3.20) < 4.1.1-r0 4.1.1-r0 Fixed
alpine/tpm2-tss(Alpine v3.21) < 4.1.1-r0 4.1.1-r0 Fixed
alpine/tpm2-tss(Alpine v3.22) < 4.1.1-r0 4.1.1-r0 Fixed
alpine/tpm2-tss(Alpine v3.23) < 4.1.1-r0 4.1.1-r0 Fixed
alpine/tpm2-tss(Alpine v3.24) < 4.1.1-r0 4.1.1-r0 Fixed
debian/tpm2-tss(Debian 13) < 4.1.0-1 4.1.0-1 Fixed
debian/tpm2-tss(Debian 14) < 4.1.0-1 4.1.0-1 Fixed
tpm2 software stack project tpm2 software stack < 4.1.0 4.1.0 Fixed
tpm2 software tpm2 tools < 4.1.0 4.1.0 Fixed
ubuntu/tpm2-tss(Ubuntu 22.04) < 3.2.0-1ubuntu1.1; = 3.0.3-2ubuntu1; = 3.0.3-2ubuntu2; = 3.1.0-3ubuntu1 +2 more 3.2.0-1ubuntu1.1 Fixed
ubuntu/tpm2-tss(Ubuntu 24.04) < 4.0.1-7.1ubuntu5.1; = 4.0.1-3ubuntu1; = 4.0.1-6ubuntu1; = 4.0.1-7.1ubuntu4 +2 more 4.0.1-7.1ubuntu5.1 Fixed
tpm2-software tpm2-tss = < 4.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/tpm2-tss(Debian:12) All versions No fix listed
debian/tpm2-tss(Debian:12) = 3.2.1-3 No fix listed
debian/tpm2-tss(Debian:12) = 3.2.1-3+loong64 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-1 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-2 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-3 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-4 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-5 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-6 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-7 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-7.1 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-7.1~exp1 No fix listed
debian/tpm2-tss(Debian:12) = 4.0.1-7.2 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.0-1 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.1 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.2 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.2+hurd.1 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.2+hurd.2 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.2+hurd.3 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-1.3 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-2 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-3 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-4 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-5 No fix listed
Show 26 more
ProductAffected versionsFixed in
debian/tpm2-tss(Debian:12) = 4.1.3-6 No fix listed
debian/tpm2-tss(Debian:12) = 4.1.3-7 No fix listed
debian/tpm2-tss(Debian:12) = 4.2.0-2 No fix listed
debian/tpm2-tss(Debian:13) < 4.1.0-1 4.1.0-1
debian/tpm2-tss(Debian:14) < 4.1.0-1 4.1.0-1
ubuntu/tpm2-tss(Ubuntu:22.04) < 3.2.0-1ubuntu1.1 3.2.0-1ubuntu1.1
tpm2-software tpm2-tss = < 4.1.0 No fix listed
tpm2 software tpm2 tools < 4.1.0 4.1.0
tpm2 software stack project tpm2 software stack < 4.1.0 4.1.0
alpine/tpm2-tss(Alpine:v3.19) < 4.0.2-r0 4.0.2-r0
alpine/tpm2-tss(Alpine:v3.20) < 4.1.1-r0 4.1.1-r0
alpine/tpm2-tss(Alpine:v3.21) < 4.1.1-r0 4.1.1-r0
alpine/tpm2-tss(Alpine:v3.22) < 4.1.1-r0 4.1.1-r0
alpine/tpm2-tss(Alpine:v3.23) < 4.1.1-r0 4.1.1-r0
alpine/tpm2-tss(Alpine:v3.24) < 4.1.1-r0 4.1.1-r0
ubuntu/tpm2-tss(Ubuntu:24.04) < 4.0.1-7.1ubuntu5.1 4.0.1-7.1ubuntu5.1
ubuntu/tpm2-tss(Ubuntu:22.04) = 3.0.3-2ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:22.04) = 3.0.3-2ubuntu2 No fix listed
ubuntu/tpm2-tss(Ubuntu:22.04) = 3.1.0-3ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:22.04) = 3.2.0-0ubuntu2 No fix listed
ubuntu/tpm2-tss(Ubuntu:22.04) = 3.2.0-1ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:24.04) = 4.0.1-3ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:24.04) = 4.0.1-6ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:24.04) = 4.0.1-7ubuntu1 No fix listed
ubuntu/tpm2-tss(Ubuntu:24.04) = 4.0.1-7.1ubuntu4 No fix listed
ubuntu/tpm2-tss(Ubuntu:24.04) = 4.0.1-7.1ubuntu5 No fix listed

References