{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2021-42553", "assignerOrgId": "455daabc-a392-441d-aa46-37d35189897c", "assignerShortName": "NCSC.ch", "dateUpdated": "2025-05-07T20:10:49.445Z", "dateReserved": "2021-10-15T00:00:00.000Z", "datePublished": "2022-10-21T00:00:00.000Z" }, "containers": { "cna": { "title": "STM32 USB Host Library Buffer Overflow", "providerMetadata": { "orgId": "455daabc-a392-441d-aa46-37d35189897c", "shortName": "NCSC.ch", "dateUpdated": "2023-03-07T00:00:00.000Z" }, "descriptions": [ { "lang": "en", "value": "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": [ { "vendor": "STMicroelectronics STM32Cube ", "product": "STM32 USB Host Library", "versions": [ { "version": "all", "status": "affected", "lessThan": "3.5.1", "versionType": "custom" } ] } ], "references": [ { "url": "https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4" }, { "url": "https://github.com/STMicroelectronics/stm32_mw_usb_host" } ], "credits": [ { "lang": "en", "value": "github.com/Defonceuse" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "PHYSICAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 6.8, "baseSeverity": "MEDIUM" } } ], "problemTypes": [ { "descriptions": [ { "type": "text", "lang": "en", "description": "buffer overflow" } ] } ], "x_generator": { "engine": "Vulnogram 0.0.9" }, "source": { "discovery": "EXTERNAL" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T03:38:49.280Z" }, "title": "CVE Program Container", "references": [ { "url": "https://github.com/STMicroelectronics/stm32_mw_usb_host/pull/4", "tags": [ "x_transferred" ] }, { "url": "https://github.com/STMicroelectronics/stm32_mw_usb_host", "tags": [ "x_transferred" ] } ] }, { "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-120", "lang": "en", "description": "CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')" } ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2025-05-07T20:06:01.309946Z", "id": "CVE-2021-42553", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-05-07T20:10:49.445Z" } } ] } }