Buffer Overflow Affecting espressif/esp-idf package, versions [2.0.0,2.1.1][3.0,3.0.9][3.1,3.1.7][3.2,3.2.3][3.3,3.3.3)[4.0.0,4.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ESPRESSIFESPIDF-2364348
  • published26 Jan 2022
  • disclosed12 Jan 2021
  • creditUnknown

Introduced: 12 Jan 2021

CVE-2020-16146  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade espressif/esp-idf to version 3.3.3, 4.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. Espressif ESP-IDF 2.x, 3.0.x through 3.0.9, 3.1.x through 3.1.7, 3.2.x through 3.2.3, 3.3.x through 3.3.2, and 4.0.x through 4.0.1 has a Buffer Overflow in BluFi provisioning in btc_blufi_recv_handler function in blufi_prf.c. An attacker can send a crafted BluFi protocol Write Attribute command to characteristic 0xFF01. With manipulated packet fields, there is a buffer overflow.

CVSS Scores

version 3.1