Vulnerability Details : CVE-2021-34262
A buffer overflow vulnerability in the USBH_ParseEPDesc() function of STMicroelectronics STM32Cube Middleware v1.8.0 and below allows attackers to execute arbitrary code.
Vulnerability category: OverflowExecute code
Products affected by CVE-2021-34262
- cpe:2.3:a:st:stm32cube_middleware:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-34262
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 42 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-34262
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
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
|
NIST |
CWE ids for CVE-2021-34262
-
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-34262
-
https://github.com/STMicroelectronics/STM32CubeH7/issues/81
No checking if ep_descriptor->wMaxPacketSize is greater than zero · Issue #81 · STMicroelectronics/STM32CubeH7 · GitHubExploit;Third Party Advisory
Jump to