Critical severity · published Oct 21, 2022
CVE-2021-42553
STM32 USB Host Library Buffer Overflow
9.8
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
STM32 USB Host Library · STMicroelectronics STM32Cube
all before 3.5.1 · source: vendor
SM
Stm32 MW Usb Host · ST
before 3.5.1 · source: NVD
