SB2021062109 - Multiple vulnerabilities in ESP-IDF



SB2021062109 - Multiple vulnerabilities in ESP-IDF

Published: June 21, 2021 Updated: January 26, 2022

Security Bulletin ID SB2021062109
Severity
High
Patch available
YES
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 33% Low 67%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Integer overflow (CVE-ID: CVE-2021-31571)

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in queue.c for queue creation. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


2) Security features bypass (CVE-ID: CVE-2020-26558)

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to an impersonation in the Passkey Entry protocol flaw. A remote attacker on the local network can perform a man-in-the-middle (MITM) attack and impersonate the initiating device without any previous knowledge.

Note: This vulnerability affects the following specifications:

  • BR/EDR Secure Simple Pairing in Bluetooth Core Specifications 2.1 through 5.2
  • BR/EDR Secure Connections Pairing in Bluetooth Core Specifications 4.1 through 5.2 
  • LE Secure Connections Pairing in Bluetooth Core Specifications 4.2 through 5.2


3) Time-of-check Time-of-use (TOCTOU) Race Condition (CVE-ID: CVE-2021-27926)

The vulnerability allows a local user to disable data encryption.

The vulnerability exists due to a potential physical access TOCTOU attack that can be used to remove encrypted partition flag in partition table. A local user can disable encryption and gain access to sensitive information.


Remediation

Install update from vendor's website.