{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-29038 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-29038 is a medium-severity vulnerability in tpm2-software tpm2-tools, published on 28 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29038 and fix it if it is affected.\n\nWhat it is: CVE-2024-29038 is a medium-severity vulnerability in tpm2-software tpm2-tools, published on 28 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-29038 in the wild and no public exploit code.\n\nAffected product: tpm2-software tpm2-tools. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-29038/ (Markdown: https://insights.sbomify.com/CVE-2024-29038/index.md)","id":"CVE-2024-29038","markdown":"https://insights.sbomify.com/CVE-2024-29038/index.md","name":"CVE-2024-29038","record":{"aliases":["AZL-43018","CLSA-2026-1782977868","DEBIAN-CVE-2024-29038","GHSA-5495-c38w-gr6f","UBUNTU-CVE-2024-29038"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"TPM2 tools","requires_auth":"none","summary":"Attackers can forge TPM quote data that bypasses verification in tpm2-tools, undermining integrity checks for trusted platform modules.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tpm2-tools","vendor":"tpm2-tools_project"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-1390","name":"Weak Authentication"},{"id":"CWE-1283","name":"Mutable Attestation or Measurement Reporting Data"}],"description":"tpm2-tools is the source repository for the Trusted Platform Module (TPM2.0) tools. A malicious attacker can generate arbitrary quote data which is not detected by `tpm2 checkquote`. This issue was patched in version 5.7.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"tpm2 does not detect if quote was not generated by TPM","id":"CVE-2024-29038","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state","id":"CVE-2024-29039"},"packages":[],"prev":{"headline":"Default secret use for initial deployment","id":"CVE-2024-29037"},"products":["tpm2-tools"],"published":"2024-06-28","related":[{"cvss_score":9.1,"headline":"Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state","id":"CVE-2024-29039","kev_date_added":null,"published":"2024-06-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["tpm2-software"]},"summary":"Attackers can forge TPM quote data that bypasses verification in tpm2-tools, undermining integrity checks for trusted platform modules.","url":"https://insights.sbomify.com/CVE-2024-29038/"}