Vulnerability Details : CVE-2021-34259
A buffer overflow vulnerability in the USBH_ParseCfgDesc() 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-34259
- cpe:2.3:a:st:stm32cube_middleware:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-34259
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-34259
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-34259
-
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-34259
-
https://github.com/STMicroelectronics/STM32CubeH7/issues/76
No validity checking on the variable cfg_desc->wTotalLength · Issue #76 · STMicroelectronics/STM32CubeH7 · GitHubExploit;Third Party Advisory
Jump to