Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ascii
  4. ›
  5. GHSA-mrrw-grhq-86gf

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

February 28, 2023

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.

References

  • github.com/advisories/GHSA-mrrw-grhq-86gf
  • github.com/tomprogrammer/rust-ascii
  • github.com/tomprogrammer/rust-ascii/issues/64
  • github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc
  • rustsec.org/advisories/RUSTSEC-2023-0015.html

Code Behaviors & Features

Detect and mitigate GHSA-mrrw-grhq-86gf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.6.0 before 0.9.3

Fixed versions

  • 0.9.3

Solution

Upgrade to version 0.9.3 or above.

Source file

cargo/ascii/GHSA-mrrw-grhq-86gf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.