Read the docs
TI-2023-30696 Aliases GHSA-mrrw-grhq-86gf

Ascii (crate) allows out-of-bounds array indexing in safe code

Priority LOW 38CWE-119Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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](https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc) by removing those impls.

Why it matters now

Fix Fixed ascii (crates.io): 0.9.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ascii (crates.io)0.7.0 to before 0.9.30.9.3Patch availableGHSA-mrrw-grhq-86gf
  • ascii (crates.io) Vendor— Affected 0.7.0 to before 0.9.3 Fixed in 0.9.3 Patch available GHSA-mrrw-grhq-86gf

Remediation

  • Fix · GHSA-mrrw-grhq-86gf ascii (crates.io) Fixed in 0.9.3 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-mrrw-grhq-86gf

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences