A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-29040

CVE-2024-29040: TPM2 Software Stack Info Disclosure Flaw

CVE-2024-29040 is an information disclosure vulnerability in TPM2 Software Stack that allows manipulation of JSON Quote Info, enabling malicious devices to misrepresent their state and gain unauthorized access.

Updated: January 22, 2026

CVE-2024-29040 Overview

CVE-2024-29040 is an insecure deserialization vulnerability affecting the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS). The vulnerability exists in the JSON Quote Info deserialization process where Fapi_VerifyQuote deserializes data to the TPM Structure TPMS_ATTEST. A critical flaw allows any arbitrary number to be used for the TPM2_GENERATED magic field in the JSON structure, enabling an attacker to bypass proper verification of TPM attestation quotes.

This vulnerability undermines the integrity of TPM-based attestation mechanisms, which are fundamental to establishing hardware-rooted trust in computing systems. A malicious device could present a falsified state that does not reflect its actual, potentially compromised condition.

Critical Impact

Malicious devices can bypass TPM attestation verification, potentially gaining unauthorized access to protected data or services by presenting a falsified trustworthy state.

Affected Products

  • TPM2 Software Stack (tpm2-tss) versions prior to 4.1.0
  • Systems using Fapi_Quote and Fapi_VerifyQuote functions for TPM attestation
  • Linux distributions with vulnerable tpm2-tss packages (including Fedora)

Discovery Timeline

  • 2024-06-28 - CVE-2024-29040 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-29040

Vulnerability Analysis

The vulnerability resides in the Feature API (FAPI) layer of the TPM2 Software Stack, specifically in how JSON-formatted attestation quotes are processed. When a TPM generates an attestation quote via Fapi_Quote, the result includes a TPMS_ATTEST structure containing a magic number (TPM2_GENERATED) that should verify the quote was genuinely produced by a TPM.

During the verification process in Fapi_VerifyQuote, the JSON representation of this quote must be deserialized back into the native TPM structure. The flaw occurs because the deserialization logic fails to properly validate the TPM2_GENERATED magic field, accepting any arbitrary value instead of enforcing the expected constant that proves TPM authenticity.

This weakness allows an attacker controlling a malicious device to craft a JSON quote with fabricated attestation data, effectively fooling the verifier into accepting a device state that was never actually measured or attested by the TPM hardware.

Root Cause

The root cause is classified as CWE-502 (Deserialization of Untrusted Data). The Fapi_VerifyQuote function lacks proper validation of the magic field constant during JSON deserialization. The implementation trusts the incoming JSON structure without verifying that the TPM2_GENERATED magic field contains the correct TPM-specified constant value (0xFF544347), allowing arbitrary values to pass through undetected.

Attack Vector

This vulnerability requires local access to exploit. An attacker with control of a device being attested can manipulate the JSON quote data before it reaches the verifier. The attack scenario involves:

  1. A malicious device intercepts or generates the attestation quote response
  2. The attacker modifies the JSON representation to include falsified Platform Configuration Register (PCR) values or other attestation data
  3. The manipulated JSON is crafted with an arbitrary magic field value
  4. The verifier's Fapi_VerifyQuote function deserializes the JSON without validating the magic constant
  5. The verifier incorrectly accepts the falsified attestation as legitimate

The vulnerability exploits the trust boundary between the TPM attestation generation and verification components, where the verifier fails to enforce cryptographic validation of the magic field that should authenticate TPM-originated data.

Detection Methods for CVE-2024-29040

Indicators of Compromise

  • Unexpected or anomalous attestation quote responses containing non-standard magic field values
  • JSON attestation data with TPM2_GENERATED magic values that differ from the expected 0xFF544347 constant
  • Discrepancies between expected device states and attestation reports from devices under test
  • Failed integrity checks following successful attestation verification (indicating falsified attestation)

Detection Strategies

  • Implement secondary validation of the TPM2_GENERATED magic field in attestation verification workflows
  • Monitor and log all attestation quote operations, flagging any with unexpected magic field values
  • Deploy application-level logging around Fapi_Quote and Fapi_VerifyQuote function calls
  • Use version detection to identify systems running tpm2-tss versions prior to 4.1.0

Monitoring Recommendations

  • Audit systems utilizing TPM attestation services for vulnerable tpm2-tss library versions
  • Implement integrity monitoring for TPM-related configuration and library files
  • Establish baseline attestation behaviors and alert on deviations from expected patterns
  • Review attestation verification logs for any historical acceptance of non-compliant quotes

How to Mitigate CVE-2024-29040

Immediate Actions Required

  • Upgrade tpm2-tss to version 4.1.0 or later immediately on all affected systems
  • Review any attestation decisions made with vulnerable library versions for potential compromise
  • Audit devices that have undergone attestation verification during the vulnerable window
  • Consider re-attesting all devices that were verified using vulnerable tpm2-tss versions

Patch Information

The vulnerability has been patched in tpm2-tss version 4.1.0. The fix implements proper validation of the TPM2_GENERATED magic field during JSON deserialization in Fapi_VerifyQuote, ensuring only legitimately TPM-generated attestation quotes are accepted.

For detailed patch information, refer to the GitHub Release 4.1.0 and the GitHub Security Advisory.

Fedora users should apply the latest package updates as announced in the Fedora Package Announcements.

Workarounds

  • Implement additional application-level validation of the TPM2_GENERATED magic field before trusting attestation results
  • Use direct TPM verification methods that bypass the vulnerable FAPI JSON deserialization path where possible
  • Restrict network access to attestation services to minimize exposure until patching is complete
  • Consider disabling attestation-dependent services temporarily if immediate patching is not feasible
bash
# Check current tpm2-tss version
tpm2_getcap -v

# On Fedora/RHEL-based systems, update to patched version
sudo dnf update tpm2-tss

# On Debian/Ubuntu-based systems
sudo apt update && sudo apt install tpm2-tss

# Verify updated version (should be 4.1.0 or later)
tpm2_getcap -v

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechTrusted Computing Group

  • SeverityMEDIUM

  • CVSS Score4.3

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Release 4.1.0

  • GitHub Security Advisory

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English