Vulnerability Details : CVE-2021-42553
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.
Published
2022-10-21 10:15:12
Updated
2023-03-07 13:15:10
Vulnerability category: OverflowExecute code
Products affected by CVE-2021-42553
- cpe:2.3:a:st:stm32_mw_usb_host:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-42553
0.31%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 70 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-42553
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
6.8
|
MEDIUM | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
0.9
|
5.9
|
Switzerland Government Common Vulnerability Program |
CWE ids for CVE-2021-42553
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-42553
-
https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4
Fix buffer overflow by Defonceuse · Pull Request #4 · STMicroelectronics/stm32_mw_usb_host · GitHubPatch;Third Party Advisory
-
https://github.com/STMicroelectronics/stm32_mw_usb_host
Jump to