From 96f303a8226807cb68e8616a4b3ec5409558ac25 Mon Sep 17 00:00:00 2001 From: RainSignal <101503193+RainSignal@users.noreply.github.com> Date: Fri, 12 Jun 2026 02:20:55 +0800 Subject: [PATCH] Improve GHSA-mrrw-grhq-86gf --- .../GHSA-mrrw-grhq-86gf.json | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 advisories/github-reviewed/2023/03/GHSA-mrrw-grhq-86gf/GHSA-mrrw-grhq-86gf.json diff --git a/advisories/github-reviewed/2023/03/GHSA-mrrw-grhq-86gf/GHSA-mrrw-grhq-86gf.json b/advisories/github-reviewed/2023/03/GHSA-mrrw-grhq-86gf/GHSA-mrrw-grhq-86gf.json new file mode 100644 index 0000000000000..6cdacc9dd40a8 --- /dev/null +++ b/advisories/github-reviewed/2023/03/GHSA-mrrw-grhq-86gf/GHSA-mrrw-grhq-86gf.json @@ -0,0 +1,58 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-mrrw-grhq-86gf", + "modified": "2023-02-28T20:30:10Z", + "published": "2023-02-28T20:30:10Z", + "aliases": [], + "summary": "Ascii (crate) allows out-of-bounds array indexing in safe code", + "details": "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.\n\nThe flaw was corrected in commit [8a6c779](https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc) by removing those impls.\n", + "severity": [], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "ascii" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.7.0" + }, + { + "fixed": "0.9.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/tomprogrammer/rust-ascii/issues/64" + }, + { + "type": "WEB", + "url": "https://github.com/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc" + }, + { + "type": "PACKAGE", + "url": "https://github.com/tomprogrammer/rust-ascii" + }, + { + "type": "WEB", + "url": "https://rustsec.org/advisories/RUSTSEC-2023-0015.html" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-119" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2023-02-28T20:30:10Z", + "nvd_published_at": null + } +} \ No newline at end of file