CVE-2021-42553

A buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics in versions before 3.5.1 allows an attacker to execute arbitrary code when the descriptor contains more endpoints than USBH_MAX_NUM_ENDPOINTS. The library is typically integrated when using a RTOS such as FreeRTOS on STM32 MCUs.
Configurations

Configuration 1 (hide)

cpe:2.3:a:st:stm32_mw_usb_host:-:*:*:*:*:*:*:*

History

07 Mar 2023, 13:15

Type Values Removed Values Added
Summary A buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics allows an attacker to execute arbitrary code when the descriptor contains more endpoints than USBH_MAX_NUM_ENDPOINTS. The library is typically integrated when using a RTOS such as FreeRTOS on STM32 MCUs. A buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics in versions before 3.5.1 allows an attacker to execute arbitrary code when the descriptor contains more endpoints than USBH_MAX_NUM_ENDPOINTS. The library is typically integrated when using a RTOS such as FreeRTOS on STM32 MCUs.
References
  • (MISC) https://github.com/STMicroelectronics/stm32_mw_usb_host -

24 Oct 2022, 15:55

Type Values Removed Values Added
References (CONFIRM) https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 - (CONFIRM) https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 - Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CPE cpe:2.3:a:st:stm32_mw_usb_host:-:*:*:*:*:*:*:*
First Time St
St stm32 Mw Usb Host
CWE CWE-120

21 Oct 2022, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-10-21 10:15

Updated : 2023-12-10 14:35


NVD link : CVE-2021-42553

Mitre link : CVE-2021-42553

CVE.ORG link : CVE-2021-42553


JSON object : View

Products Affected

st

  • stm32_mw_usb_host
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')