Improper Input Validation Affecting tpm2-tss-debuginfo package, versions <0:4.0.2-1.amzn2023


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.33% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-TPM2TSSDEBUGINFO-7710413
  • published20 Aug 2024
  • disclosed28 Jun 2024

Introduced: 28 Jun 2024

CVE-2024-29040  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 tpm2-tss-debuginfo to version 0:4.0.2-1.amzn2023 or higher.
This issue was patched in ALAS2023-2024-703.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tpm2-tss-debuginfo package and not the tpm2-tss-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1