{"id":"CVE-2022-29223","aliases":["CVE-2022-29223"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer overflow on HUB descriptor in Azure RTOS USBX","summary":"Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack. In versions prior to 6.1.10, an attacker can cause a buffer overflow by providing the Azure RTOS USBX host stack a HUB descriptor with `bNbPorts` set to a value greater than `UX_MAX_TT` which defaults to 8. For a `bNbPorts` value of 255, the implementation of `ux_host_class_hub_descriptor_get` function will modify the contents of `hub` -> `ux_host_class_hub_device` -> `ux_device_hub_tt` array violating the end boundary by 255 - `UX_MAX_TT` items. The USB host stack needs to validate the number of ports reported by the hub, and if the value is larger than UX_MAX_TT, USB stack needs to reject the request. This fix has been included in USBX release 6.1.10.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Azure RTOS USBX is a USB host, device, and on-the-go (OTG) embedded stack. In versions prior to 6.1.10, an attacker can cause a buffer overflow by providing the Azure RTOS USBX host stack a HUB descriptor with `bNbPorts` set to a value greater than `UX_MAX_TT` which defaults to 8. For a `bNbPorts` value of 255, the implementation of `ux_host_class_hub_descriptor_get` function will modify the contents of `hub` -> `ux_host_class_hub_device` -> `ux_device_hub_tt` array violating the end boundary by 255 - `UX_MAX_TT` items. The USB host stack needs to validate the number of ports reported by the hub, and if the value is larger than UX_MAX_TT, USB stack needs to reject the request. This fix has been included in USBX release 6.1.10.","source":"cvelist"},{"lang":"es","text":"Azure RTOS USBX es una pila insertada de host USB, dispositivo y on-the-go (OTG). En versiones anteriores a 6.1.10, un atacante puede causar un desbordamiento del búfer proporcionando a la pila del host Azure RTOS USBX un descriptor HUB con \"bNbPorts\" establecido en un valor mayor que \"UX_MAX_TT\", que por defecto es 8. Para un valor de \"bNbPorts\" de 255, la implementación de la función \"ux_host_class_hub_descriptor_get\" modificará el contenido del array \"hub\" -) \"ux_host_class_hub_device\" -) \"ux_device_hub_tt\" violando el límite final en 255 - \"UX_MAX_TT\" elementos. La pila del host USB necesita comprobar el número de puertos reportados por el hub, y si el valor es mayor que UX_MAX_TT, la pila USB necesita rechazar la petición. Esta corrección se ha incluido en versión 6.1.10 de USBX","source":"nvd"}],"published":"2022-05-24T14:25:10.000Z","modified":"2026-06-17T04:39:51.890Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"< 6.1.10","status":"affected"}],"vendor":"azure-rtos","product":"usbx","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.1.10"}],"vendor":"eclipse","product":"threadx_usbx","cpe":"cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/azure-rtos/usbx/security/advisories/GHSA-2qc5-385m-x862","tags":["release-notes","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/azure-rtos/usbx/releases/tag/v6.1.10_rel","tags":["release-notes","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:54:45.954Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-29223","url":"https://www.cve.org/CVERecord?id=CVE-2022-29223","licence":"CVE Terms of Use","modified":"2025-04-23T18:22:28.758Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-29223","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29223","licence":"Public domain","modified":"2026-06-17T04:39:51.890Z"}],"updatedAt":"2026-11-25T22:58:11.915Z","epss":{"score":0.01234,"percentile":0.69859,"date":"2026-12-01T12:00:22.000Z"}}