Files
vuln-osv/data/crates.io/RUSTSEC-2026-0294.json

1 line
2.1 KiB
JSON

{"schema_version":"1.9.2","id":"RUSTSEC-2026-0294","published":"2026-09-18T12:00:00Z","modified":"2026-11-11T10:45:02.509154109Z","aliases":["CVE-2026-92612","GHSA-8mq4-3mwq-qvg6"],"summary":"Unsoundness in UTF-8 'String' trait","details":"The String API in iceoryx2-bb-container 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. \nAn application can therefore create an invalid &str and trigger undefined behavior using entirely safe Rust.\n\nThe API methods `as_mut_bytes` and `deref_mut` where removed from the String API and their implementations (PolymorphicString, RelocatableString, and StaticString ) without replacement.\nLink to Pull-Request: https://github.com/eclipse-iceoryx/iceoryx2/pull/1956","affected":[{"package":{"name":"iceoryx2-bb-container","ecosystem":"crates.io","purl":"pkg:cargo/iceoryx2-bb-container"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["iceoryx2_bb_container::string::String::as_mut_bytes","iceoryx2_bb_container::string::String::deref_mut","iceoryx2_bb_container::string::polymorphic_string::PolymorphicString::as_mut_bytes","iceoryx2_bb_container::string::polymorphic_string::PolymorphicString::deref_mut","iceoryx2_bb_container::string::relocatable_string::RelocatableString::as_mut_bytes","iceoryx2_bb_container::string::relocatable_string::RelocatableString::deref_mut","iceoryx2_bb_container::string::static_string::StaticString::as_mut_bytes","iceoryx2_bb_container::string::static_string::StaticString::deref_mut"],"os":[]}},"database_specific":{"categories":[],"cvss":null,"informational":"unsound","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0294.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/iceoryx2-bb-container"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0294.html"},{"type":"WEB","url":"https://github.com/eclipse-iceoryx/iceoryx2/pull/1956"}],"database_specific":{"license":"CC0-1.0"}}