The Bluetooth Mesh Firmware Distribution Server handles Receivers Get in handle_receivers_get() (subsys/bluetooth/mesh/dfd_srv.c).
The Bluetooth Mesh Firmware Distribution Server handles Receivers Get in handle_receivers_get() (subsys/bluetooth/mesh/dfd_srv.c). This handler limits the number of returned entries with MIN(cnt, srv->target_cnt - first), where first is the First Index taken from the message. When first is greater than srv->target_cnt, the subtraction is negative after integer promotion. The MIN() macro then returns that negative value, and storing it in the uint16_t cnt wraps it to a large count. The loop then reads srv->targets[first + i] with no bound other than the response buffer's tailroom. Any mesh node holding an application key bound to the Firmware Distribution Server model can trigger this. Within
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 6.3 AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
- Weakness
- CWE-125, CWE-190
- NVD status
- Awaiting Analysis
Why it ranks 18 (Routine)
- CVSS v3.1 6.3 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.