Unratedcrates.ioPublished
Ascii (crate) allows out-of-bounds array indexing in safe code
GHSA-mrrw-grhq-86gf
- Affected
- crates.io ascii >= 0.7.0, < 0.9.3
- Fixed in
- 0.9.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.9.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.