GHSA-gv7f-5qqh-vxfx
LOWxous has unsound usages of `core::slice::from_raw_parts`
We consider as_slice and as_slice_mut unsound because: the pointer with any bit patterns could be cast to the slice of arbitrary types. The pointer could be created by unsafe new and deprecated from_parts. We consider that from_parts should be removed in latest version because it will help trigger unsoundness in as_slice. With new declared as unsafe, as_slice should also declared as unsafe.
This was patched in by marking two functions as unsafe.
- Published
- 23 Dec 2024
- Last modified
- 28 Oct 2025
- Also known as
- RUSTSEC-2024-0431
- Sources
- OSVJSONOSV RUSTSEC-2024-0431JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | xous | < 0.9.51 | 0.9.51 |
| OSV | crates.io | xous | >= 0.0.0-0, < 0.9.51 | 0.9.51 |
References
- https://github.com/betrusted-io/xous-core/issues/410 · WEB, REPORT
- https://github.com/betrusted-io/xous-core/pull/411 · WEB
- https://github.com/betrusted-io/xous-core · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0431.html · WEB, ADVISORY
- https://crates.io/crates/xous · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Dec 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Dec 2024)