{"schemaVersion":3,"id":"CVE-2022-29223","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2022-05-24T14:25:10.000Z","modified":"2025-04-23T18:22:28.758Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01234,"percentile":0.68596,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04799999999999995,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01186},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01234,"percentile":0.68596}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01186,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01215,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01234,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01234,"percentile":0.68596}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"azure-rtos","product":"usbx","name":"usbx","label":"usbx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.10","eol":null,"hubHref":"/vendor/azure-rtos/usbx"},{"vendor":"eclipse","product":"threadx_usbx","name":"threadx usbx","label":"threadx_usbx","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.1.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.1.10","eol":null,"hubHref":"/vendor/eclipse/threadx_usbx"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/azure-rtos/usbx/security/advisories/GHSA-2qc5-385m-x862","label":"github.com/azure-rtos/usbx/security/advisories/GHSA-2qc5-385m-x862","hostname":"github.com","tags":["X Refsource CONFIRM","Release Notes","Third Party Advisory"]},{"url":"https://github.com/azure-rtos/usbx/releases/tag/v6.1.10_rel","label":"github.com/azure-rtos/usbx/releases/tag/v6.1.10_rel","hostname":"github.com","tags":["X Refsource MISC","Release Notes","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-24T14:25:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:22:28.758Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:30:25.693Z","stale":false,"partial":false}}