SB2021070408 - Multiple vulnerabilities in ESP-IDF
Published: July 4, 2021 Updated: January 26, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 8 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) Improper access control (CVE-ID: CVE-2020-26555)
The vulnerability allows a local attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to improper access restrictions within the Bluetooth legacy BR/EDR PIN code pairing. An attacker with physical access can spoof the BD_ADDR of the peer device and complete pairing without knowledge of the PIN.
3) 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
4) Improper Authentication (CVE-ID: CVE-2020-26556)
The vulnerability allows a local attacker to bypass authentication process.
The vulnerability exists due to a flaw in the authentication protocol. An attacker with physical access can identify the AuthValue used before the provisioning procedure times out, complete the provisioning operation and obtain a NetKey.
5) Improper access control (CVE-ID: CVE-2020-26560)
The vulnerability allows a local attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to an impersonation in the Mesh Provisioning procedure flaw. A remote attacker on the local network can spoof a device being provisioned, authenticate without the AuthValue and perform any operation permitted to a node provisioned on the subnet.
6) Security features bypass (CVE-ID: CVE-2020-26559)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to the leak of AuthValue in the Mesh Provisioning procedure. A remote attacker on the local network can perform a brute-force attack to identify the AuthValue used given the Provisioner’s public key, and the confirmation number and nonce provided by the provisioning device.
7) Security features bypass (CVE-ID: CVE-2020-26557)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to the use of predictable AuthValue in the Mesh Provisioning procedure. A remote attacker on the local network can perform a brute-force attack to obtain the AuthValue and authenticate to both the Provisioner and provisioned devices.
8) 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.