Vulnerabilities / CVE-2021-42553

critical

CVE-2021-42553

A buffer overflow vulnerability in stm32_mw_usb_host of STMicroel ...

Published Modified CWE 120
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

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 packages and fixed versions

SourcePackageFixed in
rapidfort ubuntu 20.04micropython0:1.22.1+ds-1ubuntu0.24.10.1
rapidfort ubuntu 22.04micropython0:1.22.1+ds-1ubuntu0.24.10.1
rapidfort ubuntu 24.04micropython0:1.22.1+ds-1ubuntu0.24.10.1
ubuntu 20.04-ESMmicropython1.12-1ubuntu0.1~esm1
ubuntu 22.04micropythonno fix listed
ubuntu 24.04micropythonno fix listed
ubuntu 24.10micropython1.22.1+ds-1ubuntu0.24.10.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.