RUSTSEC-2023-0046

Source
https://rustsec.org/advisories/RUSTSEC-2023-0046
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0046.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0046
Aliases
Published
2023-06-15T12:00:00Z
Modified
2023-11-08T04:19:22.223054Z
Summary
Misaligned pointer dereference in `ChunkId::new`
Details

The function ChunkId::new creates a misaligned pointer by casting mutable pointer of u8 slice which has alignment 1 to the mutable pointer of u32 which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in safe function.

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

Affected packages

crates.io / cyfs-base

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

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

Database specific

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