Skip to contentSkip to conversation

package/tpm2-tss: security bump to v3.2.3

PATCH Applied Thomas Perale via buildroot 2 participants 4 messages Nov 12, 2025 – Nov 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/tpm2-tss: security bump to v3.2.3

For more information about the release, see:
- https://github.com/tpm2-software/tpm2-tss/releases/tag/3.2.3

Fixes the following vulnerability:

- CVE-2024-29040

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.

For more information, see:
- https://nvd.nist.gov/vuln/detail/cve-2024-29040
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6

---
 package/tpm2-tss/tpm2-tss.hash | 2 +-
 package/tpm2-tss/tpm2-tss.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index c9fa4e6ae0..d8730ba0e1 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  ba9e52117f254f357ff502e7d60fce652b3bfb26327d236bbf5ab634235e40f1  tpm2-tss-3.2.2.tar.gz
+sha256  6279a9a1983ea6ffe41925067b7f0de3a6ed95020a30e7c97d80fa2754259534  tpm2-tss-3.2.3.tar.gz
 sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +1 -1
index 81a1a0e59b..095b57baea 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TPM2_TSS_VERSION = 3.2.2
+TPM2_TSS_VERSION = 3.2.3
 TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
 TPM2_TSS_LICENSE = BSD-2-Clause
 TPM2_TSS_LICENSE_FILES = LICENSE
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 41 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Perale via buildroot <[email protected]> writes:

For more information about the release, see:
- https://github.com/tpm2-software/tpm2-tss/releases/tag/3.2.3

Fixes the following vulnerability:

- CVE-2024-29040

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.

For more information, see:
- https://nvd.nist.gov/vuln/detail/cve-2024-29040
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6

---
 package/tpm2-tss/tpm2-tss.hash | 2 +-
 package/tpm2-tss/tpm2-tss.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index c9fa4e6ae0..d8730ba0e1 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  ba9e52117f254f357ff502e7d60fce652b3bfb26327d236bbf5ab634235e40f1  tpm2-tss-3.2.2.tar.gz
+sha256  6279a9a1983ea6ffe41925067b7f0de3a6ed95020a30e7c97d80fa2754259534  tpm2-tss-3.2.3.tar.gz
 sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +0 -0
index 81a1a0e59b..095b57baea 100644

package/tpm2-tss/tpm2-tss.mk line 7

Quoted 5 lines
package/tpm2-tss/tpm2-tss.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TPM2_TSS_VERSION = 3.2.2
+TPM2_TSS_VERSION = 3.2.3

I guess your tree is not uptodate, master is using 4.1.3 since:

commit 04533b70e6dd908dcaaa275b47de55fed0b9908d

Author: Abelino Romo <[email protected]>
Date:   Wed Nov 5 12:32:08 2025 +0100

package/tpm2-tss: security bump version to 4.1.3

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Hi,

In reply of:

Quoted 49 lines
Quoted 41 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Perale via buildroot <[email protected]> writes:

For more information about the release, see:
- https://github.com/tpm2-software/tpm2-tss/releases/tag/3.2.3

Fixes the following vulnerability:

- CVE-2024-29040

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.

For more information, see:
- https://nvd.nist.gov/vuln/detail/cve-2024-29040
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6

---
 package/tpm2-tss/tpm2-tss.hash | 2 +-
 package/tpm2-tss/tpm2-tss.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index c9fa4e6ae0..d8730ba0e1 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  ba9e52117f254f357ff502e7d60fce652b3bfb26327d236bbf5ab634235e40f1  tpm2-tss-3.2.2.tar.gz
+sha256  6279a9a1983ea6ffe41925067b7f0de3a6ed95020a30e7c97d80fa2754259534  tpm2-tss-3.2.3.tar.gz
 sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +0 -0
index 81a1a0e59b..095b57baea 100644

package/tpm2-tss/tpm2-tss.mk line 7

Quoted 5 lines
package/tpm2-tss/tpm2-tss.mk +1 -1
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-TPM2_TSS_VERSION = 3.2.2
+TPM2_TSS_VERSION = 3.2.3

I guess your tree is not uptodate, master is using 4.1.3 since:

Quoted 6 lines

commit 04533b70e6dd908dcaaa275b47de55fed0b9908d

Author: Abelino Romo <[email protected]>
Date:   Wed Nov 5 12:32:08 2025 +0100

package/tpm2-tss: security bump version to 4.1.3

This was meant for 2025.02.x and noticed the mistake as I sent the patch. I immediately sent a second patch with the correct header. Patchwork entry is marked as superseeded.

Quoted 6 lines
Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Thomas Perale via buildroot
Quoted 15 lines · Thomas Perale via buildroot

For more information about the release, see:
- https://github.com/tpm2-software/tpm2-tss/releases/tag/3.2.3

Fixes the following vulnerability:

- CVE-2024-29040

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.

Quoted 5 lines

For more information, see:
- https://nvd.nist.gov/vuln/detail/cve-2024-29040
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-837m-jw3m-h9p6

Applied to 2025.02.x and 2025.08.x, thanks.

Regards,
Arnout

Quoted 19 lines
---
  package/tpm2-tss/tpm2-tss.hash | 2 +-
  package/tpm2-tss/tpm2-tss.mk   | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
package/tpm2-tss/tpm2-tss.hash +1 -1
index c9fa4e6ae0..d8730ba0e1 100644
@@ -1,3 +1,3 @@
  # Locally computed:
-sha256  ba9e52117f254f357ff502e7d60fce652b3bfb26327d236bbf5ab634235e40f1  tpm2-tss-3.2.2.tar.gz
+sha256  6279a9a1983ea6ffe41925067b7f0de3a6ed95020a30e7c97d80fa2754259534  tpm2-tss-3.2.3.tar.gz
  sha256  18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448  LICENSE
package/tpm2-tss/tpm2-tss.mk +0 -0
index 81a1a0e59b..095b57baea 100644

package/tpm2-tss/tpm2-tss.mk line 10

Quoted 8 lines
package/tpm2-tss/tpm2-tss.mk +1 -1
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-TPM2_TSS_VERSION = 3.2.2
+TPM2_TSS_VERSION = 3.2.3
  TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
  TPM2_TSS_LICENSE = BSD-2-Clause
  TPM2_TSS_LICENSE_FILES = LICENSE

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot