Unsoundness in UTF-8 'String' trait
Eclipse Foundation Eclipse iceoryx™
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| iceoryx2-bb-container crates.io |
|
|
Original description
In Eclipse iceoryx2 versions greater than v0.8.0, the StaticString exposes its contents as mutable bytes through safe APIs, while String::as_str() converts those bytes into a Rust string slice without validating UTF-8. An application can therefore create an invalid &str and trigger undefined behavior using entirely safe Rust.
From the CVE record · eclipse