VULNERABILITY INTELLIGENCE
CVE-2021-42553
CVSS score6.8 MEDIUM
EPSS probability1.27%
CISA KEVNot currently listed
Published2022-10-21
Last modified2026-10-08
CVSS vectorCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-120
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-120
Primary references
- vulnerability@ncsc.ch — Product
- vulnerability@ncsc.ch — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Product
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory