Summary
zenoh-pico, the Eclipse Zenoh implementation, does not validate the Zenoh identifier (ZID) length when deserializing timestamps, which can lead to memory corruption and denial of service. It affects versions from 0.7.2-rc up to but excluding 1.10.2; the source gives a CVSS 4.0 score of 9.3 (critical).
What happened
When deserializing timestamps, zenoh-pico does not check the length of the Zenoh identifier (ZID). An attacker-controlled length greater than 16 causes an out-of-bounds write to a fixed 16-byte identifier buffer, and the subsequent zero-fill operation receives a negative length converted to a very large unsigned size. Truncated timestamp inputs can also cause out-of-bounds reads or assertion failures. Depending on the release and message-decoding path, the overflow is heap-based or stack-based. Ordinary-frame network message decoding moved from heap-backed to stack-local storage in version 1.5.0, and earlier affected releases already contained stack-based decoding paths, including reassembled fragmented messages. The associated weakness identifiers are CWE-121, CWE-122 and CWE-125.
Why it matters
A remote attacker able to deliver crafted timestamp-bearing Zenoh messages through an accepted transport can cause memory corruption and denial of service. The source states that, in builds lacking appropriate binary protections, remote code execution is possible. The source assigns a CVSS 4.0 score of 9.3 (critical severity), with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. This vulnerability is not recorded as exploited in CISA's KEV catalog, and the source provides no evidence of active exploitation.
Affected products and versions
Eclipse Zenoh (zenoh-pico), by Eclipse Foundation: versions >= 0.7.2-rc and < 1.10.2.
| Product | Versions | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse Zenoh (zenoh-pico) | >= 0.7.2-rc, < 1.10.2 | — |
Action recommended by the source
The vendor states the issue is fixed in zenoh-pico version 1.10.2. The source points to the 1.10.2 release on GitHub (https://github.com/eclipse-zenoh/zenoh-pico/releases/tag/1.10.2), the pull request https://github.com/eclipse-zenoh/zenoh-pico/pull/1345, and the Eclipse Foundation report (https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/396). The source does not mention other mitigations.
Sources and references
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/396 — CVE Program
- https://github.com/eclipse-zenoh/zenoh-pico/pull/1345 — CVE Program
- https://github.com/eclipse-zenoh/zenoh-pico/commit/9198576fe69f6af66a2ab4f12f579f72208d7b28 — CVE Program
- https://github.com/eclipse-zenoh/zenoh-pico/releases/tag/1.10.2 — CVE Program
- https://github.com/eclipse-zenoh/zenoh-pico/commit/f51284e46d6b09378fb6e5b37e07e2910683a40a — CVE Program
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/594 — CVE Program
Weaknesses (CWE): CWE-121, CWE-122, CWE-125
Relevant change history
Published
Advisory published.