{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36063 exists.","fix":"No fix has been published for CVE-2022-36063 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-36063 is a high-severity vulnerability in azure-rtos usbx, published on 10 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-36063 and fix it if it is affected.\n\nWhat it is: CVE-2022-36063 is a high-severity vulnerability in azure-rtos usbx, published on 10 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36063 exists.\n\nAffected product: azure-rtos usbx. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-36063/ (Markdown: https://insights.sbomify.com/CVE-2022-36063/index.md)","id":"CVE-2022-36063","markdown":"https://insights.sbomify.com/CVE-2022-36063/index.md","name":"CVE-2022-36063","record":{"aliases":["GHSA-chpp-5fv9-6368"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Azure RTOS USBX","requires_auth":"low_privilege","summary":"An integer underflow in Azure RTOS USBX CDC ECM host allows remote code execution or denial of service via malicious MAC address descriptors.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"threadx_usbx","vendor":"eclipse"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"Azure RTOS USBx is a USB host, device, and on-the-go (OTG) embedded stack, fully integrated with Azure RTOS ThreadX and available for all Azure RTOS ThreadX–supported processors. Azure RTOS USBX implementation of host support for USB CDC ECM includes an integer underflow and a buffer overflow in the `_ux_host_class_cdc_ecm_mac_address_get` function which may be potentially exploited to achieve remote code execution or denial of service. Setting mac address string descriptor length to a `0` or `1` allows an attacker to introduce an integer underflow followed (string_length) by a buffer overflow of the `cdc_ecm -\u003e ux_host_class_cdc_ecm_node_id` array. This may allow one to redirect the code execution flow or introduce a denial of service. The fix has been included in USBX release [6.1.12](https://github.com/azure-rtos/usbx/releases/tag/v6.1.12_rel). Improved mac address string descriptor length validation to check for unexpectedly small values may be used as a workaround.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"USBX Host CDC ECM integer underflow with buffer overflow","id":"CVE-2022-36063","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Shescape Inefficient Regular Expression Complexity vulnerability","id":"CVE-2022-36064"},"packages":[],"prev":{"headline":"Grafana folders admin only permission privilege escalation","id":"CVE-2022-36062"},"products":["usbx"],"published":"2022-10-10","related":[{"cvss_score":9.8,"headline":"Potential buffer overflow in function DFU upload in Azure RTOS USBX","id":"CVE-2022-29246","kev_date_added":null,"published":"2022-05-24"},{"cvss_score":8.6,"headline":"Azure RTOS USBX Host PIMA vulnerable to read integer underflow with buffer overflow","id":"CVE-2022-39293","kev_date_added":null,"published":"2022-10-13"},{"cvss_score":7.5,"headline":"Buffer overflow on HUB descriptor in Azure RTOS USBX","id":"CVE-2022-29223","kev_date_added":null,"published":"2022-05-24"},{"cvss_score":7.2,"headline":"Azure RTOS USBX Remote Code Execution Vulnerability","id":"CVE-2023-48695","kev_date_added":null,"published":"2023-12-05"},{"cvss_score":6.8,"headline":"Azure RTOS USBX Remote Code Execution Vulnerability","id":"CVE-2023-48694","kev_date_added":null,"published":"2023-12-05"},{"cvss_score":6.8,"headline":"Azure RTOS USBX Remote Code Execution Vulnerability","id":"CVE-2023-48698","kev_date_added":null,"published":"2023-12-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["azure-rtos"]},"summary":"An integer underflow in Azure RTOS USBX CDC ECM host allows remote code execution or denial of service via malicious MAC address descriptors.","url":"https://insights.sbomify.com/CVE-2022-36063/"}