{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29039 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-29039 is a critical vulnerability in tpm2-software tpm2-tools, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29039 and fix it if it is affected.\n\nWhat it is: CVE-2024-29039 is a critical vulnerability in tpm2-software tpm2-tools, published on 28 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29039 exists.\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-29039/ (Markdown: https://insights.sbomify.com/CVE-2024-29039/index.md)","id":"CVE-2024-29039","markdown":"https://insights.sbomify.com/CVE-2024-29039/index.md","name":"CVE-2024-29039","record":{"aliases":["AZL-43015","AZL-43021","CLSA-2025-1764614196","DEBIAN-CVE-2024-29039","GHSA-8rjm-5f5f-h4q6","UBUNTU-CVE-2024-29039"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"TPM2.0 tools","requires_auth":"none","summary":"Attackers can manipulate TPM state verification by altering PCR inputs, leading to misleading digest mappings and potential security bypasses.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tpm2-tools","vendor":"tpm2-tools_project"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-807","name":"Reliance on Untrusted Inputs in a Security Decision"}],"description":"tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2_checkquote outputs by altering the TPML_PCR_SELECTION in the PCR input file.  As a result, digest values are incorrectly mapped to PCR slots and banks, providing a misleading picture of the TPM state. This issue has been 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":"weaponised"},"has_fix":true,"headline":"Missing check in tpm2_checkquote allows attackers to misrepresent the TPM state","id":"CVE-2024-29039","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Fapi Verify Quote: Does not detect if quote was not generated by TPM","id":"CVE-2024-29040"},"packages":[],"prev":{"headline":"tpm2 does not detect if quote was not generated by TPM","id":"CVE-2024-29038"},"products":["tpm2-tools"],"published":"2024-06-28","related":[{"cvss_score":4.3,"headline":"tpm2 does not detect if quote was not generated by TPM","id":"CVE-2024-29038","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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["tpm2-software"]},"summary":"Attackers can manipulate TPM state verification by altering PCR inputs, leading to misleading digest mappings and potential security bypasses.","url":"https://insights.sbomify.com/CVE-2024-29039/"}