Security mailing lists by PureSourceCode

GHSA-mrrw-grhq-86gf

MEDIUM

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

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.

Published
25 Feb 2023
Last modified
16 Jul 2026
Weakness
CWE-119
Also known as
RUSTSEC-2023-0015
Sources
OSVJSONOSV RUSTSEC-2023-0015JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ascii >= 0.7.0, < 0.9.3 0.9.3
OSV crates.io ascii >= 0.6.1-0, < 0.9.3 0.9.3

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Feb 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Feb 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.