Classic Buffer Overflow Affecting zephyrproject-rtos/zephyr package, versions [,3.5.0-rc1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (20th 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-6036245
  • published26 Oct 2023
  • disclosed26 Oct 2023
  • credit0xdea

Introduced: 26 Oct 2023

CVE-2023-5139  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 3.5.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Classic Buffer Overflow via the copy_reverse_words in the crypto_stm32.c file. An attacker can provide an input size that exceeds the buffer's capacity, leading to denial of service or even arbitrary code execution.

CVSS Scores

version 3.1