The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2021-27138

CVE-2021-27138: Denx U-Boot FIT Unit Address Vulnerability

CVE-2021-27138 is a vulnerability in Denx U-Boot boot loader affecting versions before 2021.04-rc2 due to improper handling of unit addresses in FIT images. This article covers technical details, impact, and mitigation.

Published: March 4, 2026

CVE-2021-27138 Overview

CVE-2021-27138 is a bootloader vulnerability affecting Das U-Boot before version 2021.04-rc2. The vulnerability exists in how the boot loader mishandles the use of unit addresses in a Flattened Image Tree (FIT). This improper handling can lead to high impacts on confidentiality, integrity, and availability of affected systems.

Critical Impact

Successful exploitation of this bootloader vulnerability could allow an attacker with local access to compromise system confidentiality, integrity, and availability through malicious FIT image manipulation.

Affected Products

  • DENX U-Boot versions prior to 2021.04-rc2
  • DENX U-Boot version 2021.04-rc1
  • Embedded systems and devices utilizing vulnerable U-Boot versions

Discovery Timeline

  • 2021-02-17 - CVE-2021-27138 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-27138

Vulnerability Analysis

Das U-Boot is a widely-used open-source bootloader for embedded systems, commonly found in IoT devices, routers, network equipment, and other embedded platforms. The vulnerability resides in how U-Boot processes Flattened Image Tree (FIT) images, which are used to bundle multiple firmware components like kernel images, device tree blobs, and ramdisks into a single bootable image.

The core issue stems from improper handling of unit addresses within FIT image structures. When parsing FIT images, U-Boot fails to properly validate or handle unit address references, which can lead to memory corruption or other undefined behavior during the boot process.

This vulnerability requires local access to exploit, meaning an attacker would need the ability to provide a malicious FIT image to the boot process. However, in environments where firmware updates are delivered over the network or where boot images can be modified, this represents a significant security risk that could enable persistent compromise of the device.

Root Cause

The root cause of CVE-2021-27138 is the improper handling of unit addresses during FIT image parsing in Das U-Boot. Unit addresses are used in device tree and FIT structures to uniquely identify nodes and components. The bootloader fails to properly validate or process these unit addresses, leading to potential memory safety issues when parsing maliciously crafted FIT images.

The vulnerability was addressed through multiple commits to the U-Boot repository, indicating the fix required changes across several components of the FIT parsing logic.

Attack Vector

The attack vector is local, requiring an attacker to have the ability to provide a malicious FIT image to the U-Boot boot process. Exploitation scenarios include:

  • Modifying firmware update packages containing FIT images
  • Compromising update delivery mechanisms to inject malicious FIT images
  • Physical access to boot media containing FIT images
  • Supply chain attacks targeting firmware distribution

The vulnerability does require user interaction, as a user or automated process must initiate a boot or firmware update operation with the malicious FIT image. However, no special privileges are required to craft the malicious image, and successful exploitation can result in complete compromise of the boot process with high impacts to system confidentiality, integrity, and availability.

Detection Methods for CVE-2021-27138

Indicators of Compromise

  • Unexpected modifications to FIT image files or firmware packages
  • Anomalous boot behavior or boot failures after firmware updates
  • Integrity check failures on boot images or firmware components
  • Unusual error messages during U-Boot initialization related to FIT parsing

Detection Strategies

  • Implement firmware integrity verification using cryptographic signatures before boot
  • Monitor firmware update processes for unauthorized modifications
  • Deploy file integrity monitoring on systems storing FIT images and firmware packages
  • Audit boot logs for unusual FIT parsing errors or unexpected behavior

Monitoring Recommendations

  • Enable verbose U-Boot logging to capture detailed boot process information
  • Implement secure boot chains with signature verification at each stage
  • Monitor network traffic for unauthorized firmware distribution or tampering
  • Establish baseline boot behavior profiles to detect anomalies

How to Mitigate CVE-2021-27138

Immediate Actions Required

  • Upgrade Das U-Boot to version 2021.04-rc2 or later
  • Implement FIT image signature verification to prevent loading of untrusted images
  • Review and restrict access to firmware update mechanisms
  • Audit existing FIT images and firmware packages for integrity

Patch Information

DENX has addressed this vulnerability through multiple commits to the U-Boot repository. The fixes are included in version 2021.04-rc2 and all subsequent releases. Organizations should update to the latest stable release of U-Boot to receive this fix along with other security improvements.

The patches can be reviewed at the following locations:

  • U-Boot Commit 3f04db8
  • U-Boot Commit 79af75f
  • U-Boot Commit b6f4c75

For Debian-based systems, refer to the Debian LTS Security Announcement for distribution-specific patch information.

Workarounds

  • Enable FIT signature verification to prevent loading of unsigned or tampered images
  • Restrict physical and logical access to boot media and firmware storage
  • Implement network segmentation to protect firmware update infrastructure
  • Use secure boot mechanisms where available to establish a root of trust
bash
# Enable FIT signature verification in U-Boot configuration
# Add to your board configuration or defconfig file
CONFIG_FIT_SIGNATURE=y
CONFIG_FIT_SIGNATURE_ENFORCE=y
CONFIG_RSA=y

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechDenx U Boot

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • GitHub U-Boot Commit

  • GitHub U-Boot Commit

  • GitHub U-Boot Commit
  • Related CVEs
  • CVE-2022-30767: Denx U-Boot Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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