Affected versions
Rust / Cargoascii
- Affected versions
- >= 0.7.0, < 0.9.3
- Fixed version
- 0.9.3
Description
Affected version of this crate had implementation of From<&mut AsciiStr> for &mut [u8] and &mut str. This can result in out-of-bounds array indexing in safe code.
The flaw was corrected in commit 8a6c779 by removing those impls.
Links
- https://github.com/advisories/GHSA-mrrw-grhq-86gf
- https://github.com/tomprogrammer/rust-ascii
- https://github.com/tomprogrammer/rust-ascii/issues/64
- https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc
- https://rustsec.org/advisories/RUSTSEC-2023-0015.html
Credits
- RainSignal

