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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io ascii(crates.io) | >= 0.6.1-0, < 0.9.3; >= 0.7.0, < 0.9.3 | 0.9.3 | Fixed |
Affected products
| Product | Affected versions | Fixed 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
- github.com issue-tracking
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com