Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1tcnJ3LWdyaHEtODZnZs4AAx3Z
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.
Permalink: https://github.com/advisories/GHSA-mrrw-grhq-86gfJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tcnJ3LWdyaHEtODZnZs4AAx3Z
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
Identifiers: GHSA-mrrw-grhq-86gf
References:
- https://github.com/tomprogrammer/rust-ascii/issues/64
- https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc
- https://rustsec.org/advisories/RUSTSEC-2023-0015.html
- https://github.com/advisories/GHSA-mrrw-grhq-86gf
Blast Radius: 0.0
Affected Packages
cargo:ascii
Dependent packages: 94Dependent repositories: 3,191
Downloads: 21,931,578 total
Affected Version Ranges: >= 0.6.0, < 0.9.3
Fixed in: 0.9.3
All affected versions: 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9.0, 0.9.1, 0.9.2
All unaffected versions: 0.0.1, 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.9.3, 1.0.0, 1.1.0