RUSTSEC-2023-0015

Source
https://rustsec.org/advisories/RUSTSEC-2023-0015
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0015.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0015
Aliases
Published
2023-02-25T12:00:00Z
Modified
2023-11-08T04:21:16.691544Z
Summary
Ascii 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.

The flaw was corrected in commit 8a6c779 by removing those impls.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / ascii

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.6.1-0
Fixed
0.9.3

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": "unsound",
    "categories": [
        "memory-corruption"
    ]
}