{"id":"CVE-2021-42553","published":"2022-10-21T00:00:00Z","modified":"2025-05-07T20:10:49Z","title":"STM32 USB Host Library Buffer Overflow","vendor":"STMicroelectronics STM32Cube","product":"STM32 USB Host Library","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01304,"percentile":0.71227,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4","tags":[]},{"url":"https://github.com/STMicroelectronics/stm32_mw_usb_host","tags":[]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":14.25},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"stmicroelectronics-stm32cube","affectedVersions":[{"vendor":"STMicroelectronics STM32Cube ","product":"STM32 USB Host Library","versions":[">= all, < 3.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-05-07T20:06:01.309946Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-29521","exploited":false,"provenance":"source"}}