Sploit.io - Search

Product: u-boot, version: versions from v2020.10-rc2 to v2022.07-rc5

CVE-2022-33967

Severity: Unknown

Description: squashfs filesystem implementation of U-Boot versions from v2020.10-rc2 to v2022.07-rc5 contains a heap-based buffer overflow vulnerability due to a defect in the metadata reading process. Loading a specially crafted squashfs image may lead to a denial-of-service (DoS) condition or arbitrary code execution.

CVSS Score: N/A

Priority

D

CISA Data

EPSS Data

  • EPSS: 0.005590000
  • Percentile: 0.686350000
  • Date: 2026-06-05

ExploitDB

No data available.

HackerOne Data

  • Rank: 9663
  • Reports submitted count: 0
  • Unknown: 0
  • None: 0
  • Low: 0
  • Medium: 0
  • High: 0
  • Critical: 0

GitHub PoCs

    Nuclei Templates

    No data available.

    VulnCheck Data

    Affected Products:

    • DENX Software Engineering U-Boot - Versions: versions from v2020.10-rc2 to v2022.07-rc5

    References:

    Risk Assessment

    1. Risk Assessment
    The vulnerability CVE-2022-33967 is a heap-based buffer overflow in the squashfs filesystem implementation of U-Boot. This means a specially crafted squashfs image can cause a buffer to overflow, potentially overwriting adjacent memory. The business impact ranges from a denial-of-service (DoS), causing systems to become unresponsive, to arbitrary code execution, allowing an attacker to gain control of the system. The likelihood of exploitation is moderate, as it requires a crafted squashfs image, but the ease of exploitation is relatively high once the image is in place. This is because U-Boot is often a foundational component in embedded systems and bootloaders, meaning a compromise there can have wide-reaching effects. The vulnerability primarily impacts availability, potentially causing system outages, and can also affect integrity if arbitrary code execution is achieved, allowing attackers to modify system data. Confidentiality could be impacted if the arbitrary code execution allows access to sensitive data. The EPSS score of 0.005590000 indicates a relatively low, but non-negligible, probability of exploitation given the overall threat landscape.

    2. Potential Attack Scenarios
    An attacker could leverage this vulnerability by creating a specially crafted squashfs image and deploying it to a system using a vulnerable version of U-Boot. For example, consider a network-attached storage (NAS) device utilizing a squashfs filesystem for its root filesystem and running a vulnerable U-Boot version. The attacker could deliver the crafted squashfs image through a firmware update, or potentially through a network share if the NAS device is configured to automatically mount squashfs images. Once the NAS device boots using the vulnerable U-Boot version and loads the crafted squashfs image, the heap-based buffer overflow occurs during metadata reading. This overflow could lead to a DoS, making the NAS device inaccessible, or allow the attacker to execute arbitrary code on the NAS device, potentially gaining full control and access to stored data. The attack vector is the crafted squashfs image, the attack process is the loading and parsing of the image by U-Boot, and the potential outcome is DoS or complete system compromise.

    3. Mitigation Recommendations
    The primary mitigation for CVE-2022-33967 is to upgrade U-Boot to a version newer than v2022.07-rc5. This can be accomplished by obtaining the latest version of U-Boot from the official website (https://www.denx.de/project/u-boot/) and rebuilding the bootloader for the target system. Ensure the new version is thoroughly tested before deploying it to production systems. If upgrading immediately isn't feasible, consider implementing input validation on the squashfs images being used to reduce the likelihood of a crafted image being loaded. Regularly check the U-Boot mailing list (https://lists.denx.de/pipermail/u-boot/) for security announcements and updates. Additionally, review the commit fixing the vulnerability (https://source.denx.de/u-boot/u-boot/-/commit/7f7fb9937c6cb49dd35153bd6708872b390b0a44) for a deeper understanding of the fix.

    4. Executive Summary
    CVE-2022-33967 is a heap-based buffer overflow vulnerability in U-Boot, a widely used bootloader, that could lead to a denial-of-service or allow an attacker to take complete control of affected systems. The vulnerability is triggered by loading a specially crafted squashfs image. While the probability of exploitation is moderate, the impact can be significant, potentially causing system outages or data compromise. We recommend upgrading U-Boot to a version newer than v2022.07-rc5 as soon as possible. This is particularly important for embedded systems and devices relying on U-Boot for their core functionality. Addressing this vulnerability will enhance system stability and protect against potential data breaches or service disruptions. Prompt action is recommended to minimize risk and maintain business continuity.