Eclipse Zenoh ZID уақыт белгісін өңдеудегі стек буферінің толып кетуі
Eclipse Zenoh
Қысқаша
Eclipse Zenoh-тың zenoh-pico іске асырылымы уақыт белгілерін оқығанда 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