Переполнение буфера в стеке в Eclipse Zenoh при обработке временных меток ZID
Eclipse Zenoh
Кратко
Реализация zenoh-pico в Eclipse Zenoh не проверяет длину идентификатора Zenoh при чтении временных меток. Удалённый злоумышленник, способный отправлять по сети специально сформированные сообщения с временными метками без аутентификации, может повредить память и вызвать отказ в обслуживании, а в сборках без надлежащей бинарной защиты это может привести к удалённому выполнению кода.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: 1.10.2
Затронутые версии
| Eclipse Zenoh (zenoh-pico) | с 0.7.2-rc → исправлено в 1.10.2 |
Оригинальное описание (EN)
Оригинальный заголовок: Eclipse Zenoh stack buffer overflow in ZID timestamp handling
Eclipse Zenoh's zenoh-pico implementation, versions 0.7.2-rc up to but excluding 1.10.2, does not validate the Zenoh identifier (ZID) length when deserializing timestamps. An attacker-controlled length greater than 16 causes an out-of-bounds write to a fixed 16-byte identifier buffer and causes the subsequent zero-fill operation to receive a negative length converted to a large unsigned size. Truncated timestamp inputs can also cause out-of-bounds reads or assertion failures. A remote attacker able to deliver crafted timestamp-bearing Zenoh messages through an accepted transport can cause memory corruption and denial of service, with potential remote code execution in builds lacking appropriate binary protections. This issue is fixed in version 1.10.2. Depending on the release and message-decoding path, the unchecked timestamp identifier length causes a heap-based or stack-based buffer overflow. Ordinary-frame network message decoding moved from heap-backed storage to stack-local storage in version 1.5.0. Earlier affected releases already contained stack-based decoding paths, including reassembled fragmented messages.
Ссылки
- Вендорgitlab.eclipse.org/security/vulnerability-reports/-/work_items/396
- Прочееgithub.com/eclipse-zenoh/zenoh-pico/pull/1345
- Прочееgithub.com/eclipse-zenoh/zenoh-pico/commit/9198576fe69f6af66a2ab4f12f579f72208d7b28
- Прочееgithub.com/eclipse-zenoh/zenoh-pico/releases/tag/1.10.2
- Прочееgithub.com/eclipse-zenoh/zenoh-pico/commit/f51284e46d6b09378fb6e5b37e07e2910683a40a
- Вендорgitlab.eclipse.org/security/cve-assignment/-/work_items/594