Skip to content

GHSA-mrrw-grhq-86gf Ascii (crate) allows out-of-bounds array indexing in safe code

Unknown
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io ascii(crates.io) >= 0.6.1-0, < 0.9.3; >= 0.7.0, < 0.9.3 0.9.3 Fixed

Affected products

ProductAffected versionsFixed in
crates.io ascii(crates.io) >= 0.7.0, < 0.9.3 0.9.3
crates.io ascii(crates.io) >= 0.6.1-0, < 0.9.3 0.9.3

References