Out-of-bounds Write Affecting zephyrproject-rtos/zephyr package, versions [,1.14.2][2.0.0,2.5.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (28th 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-2365770
  • published26 Jan 2022
  • disclosed25 May 2021
  • creditUnknown

Introduced: 25 May 2021

CVE-2020-13598  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat. Zephyr versions >= v1.14.2, >= v2.3.0 contain Stack-based Buffer Overflow (CWE-121). For more information, see https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7fhv-rgxr-x56h

References

CVSS Scores

version 3.1