CVE-2023-23609 contiki-ng BLE-L2CAP contains Improper size validation of L2CAP frames
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Contiki-NG is an open-source, cross-platform operating system for Next-Generation IoT devices. Versions prior to and including 4.8 are vulnerable to an out-of-bounds write that can occur in the BLE-L2CAP module. The Bluetooth Low Energy - Logical Link Control and Adaptation Layer Protocol (BLE-L2CAP) module handles fragmentation of packets up the configured MTU size. When fragments are reassembled, they are stored in a packet buffer of a configurable size, but there is no check to verify that the packet buffer is large enough to hold the reassembled packet. In Contiki-NG's default configuration, it is possible that an out-of-bounds write of up to 1152 bytes occurs. The vulnerability has been patched in the "develop" branch of Contiki-NG, and will be included in release 4.9. The problem can be fixed by applying the patch in Contiki-NG pull request #2254 prior to the release of version 4.9.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Contiki-NG | <= 4.8; = <= 4.8 | after 4.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Contiki-NG | = <= 4.8 | No fix listed |
| Contiki-NG | <= 4.8 | No fix listed |
References
- https://github.com/contiki-ng/contiki-ng/security/advisories/GHSA-qr4q-6h3m-h3g7 patch third-party-advisory
- https://github.com/contiki-ng/contiki-ng/pull/2254 patch third-party-advisory