GHSA-mrrw-grhq-86gfMedium▾ SunlitAscii (crate) allows out-of-bounds array indexing in safe code
▾ Sunlit zone — Low / medium · no exploitation signal
impact 27.5 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
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.
ascii >= 0.7.0, < 0.9.3Upgrade to a patched release:
ascii 0.9.3