zephyrproject-rtos.zephyr is vulnerable to Out-of-Bounds Read
66
Medium Risk
The SF32LB MPI QSPI NOR flash driver validates read and write offsets with a check that adds a signed offset to an unsigned size, so a negative offset wraps to a large value and can pass the bound. Under CONFIG_USERSPACE the flash_read and flash_write syscalls delegate offset checking to the driver, so an unprivileged thread granted the flash device can supply a crafted negative offset. The read path then copies memory outside the mapped flash window into the caller buffer, disclosing unauthorized memory, and the write path programs flash and invalidates cache at an out-of-range address. The fix validates the range with overflow-safe 64-bit arithmetic and rejects negative offsets on both paths.
You are affected if you are using a version that falls within the vulnerable range and you build with CONFIG_USERSPACE and grant an untrusted thread access to the SF32LB MPI QSPI NOR flash device.
zephyrproject-rtos.zephyr is vulnerable to Out-of-Bounds Read in versions 4.3.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