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
Link | Resource |
---|---|
https://github.com/STMicroelectronics/stm32_mw_usb_host | |
https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 | Patch Third Party Advisory |
https://github.com/STMicroelectronics/stm32_mw_usb_host | |
https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:27
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/STMicroelectronics/stm32_mw_usb_host - | |
References | () https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 - Patch, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.8 |
Information
Published : 2022-10-21 10:15
Updated : 2025-05-07 21:15
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')