Buffer Overflow Affecting azure-rtos/usbx package, versions [,6.1.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-AZURERTOSUSBX-3105819
  • published6 Nov 2022
  • disclosed6 Nov 2022
  • creditUnknown

Introduced: 6 Nov 2022

CVE-2022-39344  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade azure-rtos/usbx to version 6.1.12 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow which can result in an overwriting of memory contents. In particular cases, this can allow an attacker to bypass security features or execute arbitrary code.

Workarounds

Add the UPLOAD_LENGTH check in all possible states

References

CVSS Base Scores

version 3.1