The WINC1500 Wi-Fi offload driver (drivers/wifi/winc1500/wifi_winc1500.c) keeps per-socket state in w1500_data.socket_data[], sized by…
The WINC1500 Wi-Fi offload driver (drivers/wifi/winc1500/wifi_winc1500.c) keeps per-socket state in w1500_data.socket_data[], sized by CONFIG_WIFI_WINC1500_OFFLOAD_MAX_SOCKETS (default 2). The socket event callback winc1500_socket_cb() and the accept handler handle_socket_msg_accept() indexed this array with socket IDs reported by the WINC1500 firmware without any bounds check. In the accept handler, a negative (error) socket ID also fell through into the indexing path because the error branch did not return. The firmware assigns the socket ID of each inbound TCP connection from its own pool of 7 TCP sockets, independent of the 2-entry Zephyr table. When an application runs a TCP server over
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Zephyrproject
- Product
- zephyr
- CVSS v3.1
- 6.5 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- Weakness
- CWE-787
- NVD status
- Awaiting Analysis
Why it ranks 18 (Routine)
- CVSS v3.1 6.5 medium
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.