CVE-2021-42553
STM32 USB Host Library Buffer Overflow
Severity Score
9.8
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
Una vulnerabilidad de desbordamiento de búfer en la función stm32_mw_usb_host de STMicroelectronics permite a un atacante ejecutar código arbitrario cuando el descriptor contiene más endpoints que USBH_MAX_NUM_ENDPOINTS. La librería es integrada normalmente cuando es usado un RTOS como FreeRTOS en los MCUs STM32
*Credits:
github.com/Defonceuse
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2021-10-15 CVE Reserved
- 2022-10-21 CVE Published
- 2024-05-13 EPSS Updated
- 2024-08-04 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/STMicroelectronics/stm32_mw_usb_host |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4 | 2023-03-07 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
St Search vendor "St" | Stm32 Mw Usb Host Search vendor "St" for product "Stm32 Mw Usb Host" | - | - |
Affected
|