UBUNTU-CVE-2024-29040 (CVE-2024-29040)

Vulnerability from osv_ubuntu – Published: 2024-04-30 00:00 – Updated: 2026-04-22 07:48 – Source website
VLAI
Details

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": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libtss2-esys-3.0.2-0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-fapi1",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-mu0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-rc0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-sys1",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-tcti-cmd0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-tcti-device0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-tcti-mssim0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-tcti-swtpm0",
            "binary_version": "3.2.0-1ubuntu1.1"
          },
          {
            "binary_name": "libtss2-tctildr0",
            "binary_version": "3.2.0-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "tpm2-tss",
        "purl": "pkg:deb/ubuntu/tpm2-tss@3.2.0-1ubuntu1.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.0-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.3-2ubuntu1",
        "3.0.3-2ubuntu2",
        "3.1.0-3ubuntu1",
        "3.2.0-0ubuntu2",
        "3.2.0-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libtss2-esys-3.0.2-0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-fapi1t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-mu-4.0.1-0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-policy0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-rc0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-sys1t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-cmd0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-device0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-libtpms0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-mssim0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-pcap0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-spi-helper0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tcti-swtpm0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          },
          {
            "binary_name": "libtss2-tctildr0t64",
            "binary_version": "4.0.1-7.1ubuntu5.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "tpm2-tss",
        "purl": "pkg:deb/ubuntu/tpm2-tss@4.0.1-7.1ubuntu5.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.0.1-7.1ubuntu5.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "4.0.1-3ubuntu1",
        "4.0.1-6ubuntu1",
        "4.0.1-7ubuntu1",
        "4.0.1-7.1ubuntu4",
        "4.0.1-7.1ubuntu5"
      ]
    }
  ],
  "aliases": [],
  "details": "This repository hosts source code implementing the Trusted Computing Group\u0027s (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\u0027t, or can use services it shouldn\u0027t be able to. This issue has been patched in version 4.1.0.",
  "id": "UBUNTU-CVE-2024-29040",
  "modified": "2026-04-22T07:48:46Z",
  "published": "2024-04-30T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29040"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-29040"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/tpm2-software/tpm2-tss/commit/710cd0b6adf3a063f34a8e92da46df7a107d9a99"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6796-1"
    }
  ],
  "related": [
    "USN-6796-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-29040"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.