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


Severity

Recommended
0.0
high
0
10

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

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-8747574
  • published26 Feb 2025
  • disclosed25 Feb 2025
  • creditAmPaschal

Introduced: 25 Feb 2025

NewCVE-2025-1673  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the dns_validate_msg() function in dns/resolve.c. An attacker can cause a crash or incorrect computation by sending a packet with DNS ID of 0, QD count of 1, and a missing payload.

PoC

{0, 0, 128, 1, 0, 1, 0, 0, 0, 0, 0, 0};

CVSS Scores

version 4.0
version 3.1