CVEvulnerability
CVE-2021-42553
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2022-10-21
- Last modified
- 2026-10-08
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-120
Description
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.
Affected configurations
• st stm32 mw usb host (< 3.5.1)
Related
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- https://github.com/STMicroelectronics/stm32_mw_usb_host Product
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory
- https://github.com/STMicroelectronics/stm32_mw_usb_host Product
- https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 Patch, Third Party Advisory