CWE
120 119
Advisory Published
Updated

CVE-2021-42553: STM32 USB Host Library Buffer Overflow

First published: Fri Oct 21 2022(Updated: )

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.

Credit: vulnerability@ncsc.ch

Affected SoftwareAffected VersionHow to fix
St Stm32 Mw Usb Host

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-42553?

    CVE-2021-42553 is a buffer overflow vulnerability in stm32_mw_usb_host of STMicroelectronics in versions before 3.5.1.

  • How can an attacker exploit CVE-2021-42553?

    An attacker can exploit CVE-2021-42553 by providing a descriptor with more endpoints than USBH_MAX_NUM_ENDPOINTS, leading to arbitrary code execution.

  • What is the severity of CVE-2021-42553?

    CVE-2021-42553 has a severity rating of 9.8 (critical).

  • Which software versions are affected by CVE-2021-42553?

    Versions of stm32_mw_usb_host before 3.5.1 are affected by CVE-2021-42553.

  • How can I fix CVE-2021-42553?

    To fix CVE-2021-42553, upgrade to version 3.5.1 or newer of stm32_mw_usb_host.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203