GHSA-mrrw-grhq-86gf
JSON

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 packageVersionsReported by
ascii (crates.io)from 0.7.0 before 0.9.3, from 0.6.1-0 before 0.9.3GitHub Advisory Database, RustSec Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-mrrw-grhq-86gf changed 2026-07-16CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0015 changed 2023-11-08CC0-1.0