Rust advisories / chunky
Unsound HighRUSTSEC-2020-0035 · chunky
RUSTSEC-2020-0035: Chunk API does not respect align requirement
Short answerchunky has an API that can cause undefined behaviour from safe code: Chunk API does not respect align requirement. No fixed version yet.
| Crate | chunky |
|---|---|
| Type | Unsound |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | High, CVSS 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2020-08-25 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2020-36433, GHSA-qg24-8xj4-gj2h |
What to do
- Find who pulls it in:
cargo tree -i chunky. - Avoid the affected API, or replace the crate.
Details from the advisory
Chunk API does not respect the align requirement of types. Unaligned reference can be created with the API, which is an undefined behavior.
References
- Package: crates.io/crates/chunky
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0035.html
- Report: github.com/aeplay/chunky/issues/2
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?