GHSA-mrrw-grhq-86gf
medium
Ascii (crate) allows out-of-bounds array indexing in safe code
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2023-0015
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ascii (crates.io) | from 0.7.0 before 0.9.3, from 0.6.1-0 before 0.9.3 | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-mrrw-grhq-86gf changed 2026-07-16 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2023-0015 changed 2023-11-08 | CC0-1.0 |