Paper/Archive/CVE-2021-42553

CVE-2021-42553

STMicroelectronics STM32Cube STM32 USB Host Library — STM32 USB Host Library Buffer Overflow

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
STM32 USB Host Libraryall – < 3.5.13.5.1CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NCSC.ch (CNA)6.8CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/STMicroelectronics/stm32_mw_usb_host/pull/4refgithub.com/STMicroelectronics/stm32_mw_usb_host