Out-of-bounds Read Affecting zephyrproject-rtos/zephyr package, versions [,3.6.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th 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-ZEPHYRPROJECTRTOSZEPHYR-8163325
  • published7 Oct 2024
  • disclosed4 Oct 2024
  • creditekleezg

Introduced: 4 Oct 2024

CVE-2024-6443  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 3.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to utf8_trunc in zephyr/lib/utils/utf8.c file, last_byte_p can point to one byte before the string pointer if the string is empty. An attacker can read data outside the intended buffer boundaries by supplying an empty string as input.

CVSS Scores

version 4.0
version 3.1