zephyrproject-rtos.zephyr is vulnerable to NULL Pointer Dereference
75
High Risk
The UpdateHub firmware-update agent parses JSON metadata returned by the update server into a fixed two-level nested array and validates only the outer array length before dereferencing the inner sha256sum pointer. The metadata is fetched over CoAP from the configured UpdateHub server, so a malicious or compromised server, or an on-path party when DTLS is disabled, can return a response whose inner object array is empty. The zero-initialized parse target leaves the sha256sum pointer NULL, and the following strlen() dereferences address zero and faults the device. The fix rejects metadata whose inner object array is empty before any dereference on both metadata layouts.
You are affected if you are using a version that falls within the vulnerable range and you enable the UpdateHub OTA agent, which fetches update metadata from a configurable UpdateHub server over CoAP.
zephyrproject-rtos.zephyr is vulnerable to NULL Pointer Dereference in versions 3.7.0 - 4.4.1.
Upgrade the zephyrproject-rtos.zephyr library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant