CVE-2024-29040
published 2024-06-28CVE-2024-29040: 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…
PriorityP420medium4.3CVSS 3.1
AVLACLPRNUINSCCLINAN
EPSS
0.35%
27.3th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | tpm2-tss | < tpm2-tss 4.1.0-1 (forky) | tpm2-tss 4.1.0-1 (forky) |
| msrc | azl3_tpm2-tss_4.0.2-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_tpm2-tss_2.4.6-4_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| tpm2-software | tpm2-tss | < 4.1.0 | 4.1.0 |
| tpm2-software | tpm2-tss | >= 0 < 4.1.0-1 | 4.1.0-1 |
| tpm2-software | tpm2-tss | >= 0 < 4.1.0-1 | 4.1.0-1 |
| tpm2-software | tpm2-tss | >= 0 < 2.3.2-1ubuntu0.20.04.2 | 2.3.2-1ubuntu0.20.04.2 |
| tpm2-software | tpm2-tss | >= 0 < 3.2.0-1ubuntu1.1 | 3.2.0-1ubuntu1.1 |
| tpm2-software | tpm2-tss | >= 0 < 4.0.1-7.1ubuntu5.1 | 4.0.1-7.1ubuntu5.1 |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
osv6.4MEDIUM
vendor_ubuntu6.4MEDIUM
vendor_debian4.3MEDIUM
vendor_msrc4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
Fapi Verify Quote: Does not detect if quote was not generated by TPM
vendor_msrc·2024-06-11·CVSS 4.3
CVE-2024-29040 [MEDIUM] CWE-502 Fapi Verify Quote: Does not detect if quote was not generated by TPM
Fapi Verify Quote: Does not detect if quote was not generated by TPM
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Refer
Ubuntu
TPM2 Software Stack vulnerabilities
vendor_ubuntu·2024-05-29·CVSS 6.4
CVE-2023-22745 [MEDIUM] TPM2 Software Stack vulnerabilities
Title: TPM2 Software Stack vulnerabilities
Summary: Several security issues were fixed in TPM2 Software Stack.
Fergus Dall discovered that TPM2 Software Stack did not properly handle
layer arrays. An attacker could possibly use this issue to cause
TPM2 Software Stack to crash, resulting in a denial of service, or
possibly execute arbitrary code.
(CVE-2023-22745)
Jurgen Repp and Andreas Fuchs discovered that TPM2 Software Stack did not
validate the quote data after deserialization. An attacker could generate
an arbitrary quote and cause TPM2 Software Stack to have unknown behavior.
(CVE-2024-29040)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
tpm2-tss: arbitrary quote data may go undetected by Fapi_VerifyQuote
vendor_redhat·2024-04-30·CVSS 4.3
CVE-2024-29040 [MEDIUM] CWE-20 tpm2-tss: arbitrary quote data may go undetected by Fapi_VerifyQuote
tpm2-tss: arbitrary quote data may go undetected by Fapi_VerifyQuote
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.
A flaw was found in the tpm2-tss package, where it was not checked to see if the magic number in the attest is equal to the
Debian
CVE-2024-29040: tpm2-tss - This repository hosts source code implementing the Trusted Computing Group's (TC...
vendor_debian·2024·CVSS 4.3
CVE-2024-29040 [MEDIUM] CVE-2024-29040: tpm2-tss - This repository hosts source code implementing the Trusted Computing Group's (TC...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 4.1.0-1)
sid: resolved (fixed in 4.1.0-1)
trixie: resolved (fixed in 4.1.0-1)
OSV
CVE-2024-29040: This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS)
osv·2024-06-28·CVSS 4.3
CVE-2024-29040 [MEDIUM] CVE-2024-29040: This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS)
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.
OSV
tpm2-tss vulnerabilities
osv·2024-05-29·CVSS 6.4
CVE-2023-22745 [MEDIUM] tpm2-tss vulnerabilities
tpm2-tss vulnerabilities
Fergus Dall discovered that TPM2 Software Stack did not properly handle
layer arrays. An attacker could possibly use this issue to cause
TPM2 Software Stack to crash, resulting in a denial of service, or
possibly execute arbitrary code.
(CVE-2023-22745)
Jurgen Repp and Andreas Fuchs discovered that TPM2 Software Stack did not
validate the quote data after deserialization. An attacker could generate
an arbitrary quote and cause TPM2 Software Stack to have unknown behavior.
(CVE-2024-29040)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/tpm2-software/tpm2-tss/releases/tag/4.1.0https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6https://github.com/tpm2-software/tpm2-tss/releases/tag/4.1.0https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6https://lists.fedoraproject.org/archives/list/[email protected]/message/EFR7SVEWCOXORHPCLLGXEMHFMIGG2MFE/https://lists.fedoraproject.org/archives/list/[email protected]/message/GI4JFEZBKQQUPJ4RWK6IHEWXAFCEJDPI/
2024-06-28
Published