Buffer overflow in St Stm32cube Middleware

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 class: Buffer Overflow

EPSS: 0.005 (38.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-34259?
CVE-2021-34259 is a medium-severity vulnerability in St Stm32cube Middleware, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.8/10. Published 2021-07-22.
How severe is CVE-2021-34259?
Medium severity. CVSS v3 base score is 6.8 out of 10.