GHSA-mrrw-grhq-86gf
MEDIUMAscii (crate) allows out-of-bounds array indexing in safe code
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.
- Published
- 25 Feb 2023
- Last modified
- 16 Jul 2026
- Weakness
- CWE-119
- Also known as
- RUSTSEC-2023-0015
- Sources
- OSVJSONOSV RUSTSEC-2023-0015JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | ascii | >= 0.7.0, < 0.9.3 | 0.9.3 |
| OSV | crates.io | ascii | >= 0.6.1-0, < 0.9.3 | 0.9.3 |
References
- https://github.com/tomprogrammer/rust-ascii/issues/64 · WEB, REPORT
- https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc · WEB
- https://github.com/tomprogrammer/rust-ascii · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0015.html · WEB, ADVISORY
- https://crates.io/crates/ascii · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2023)